0
fun main(args: Array<String>) {
    val minhaTarefa = Tarefa("Daniel", "Programação", 10, "30 de Setembro")
    minhaTarefa.entregar()
}
   class TarefaDeCasa(
     var nomeDoAluno: String,
     var nomeDaMateria: String,
     var nota: Int,
       var dataDeEntrega: String) {
   fun entregar() {
        println("o aluno ${nomeDoAluno} entregou a tarefa do dia ${dataDeEntrega} e recebeu a nota ${nota}")
        }
  }
source.kt:4:23: error: unresolved Ference: Task val minhaTarefa = Task("Daniel", "Programming", 10, "30 September") ^
Good question, you can tell us why you think something is missing?
– Maniero
Please rephrase the question so we know what your question is.
– flpn
The following error appears: source.kt:4:23: error: unresolved Reference: Task val minhaTarefa = Task("Daniel", "Programming", 10, "September 30") ^
– Khallanak Ginovaef Arklaynnost
But I don’t know what I need to do to fix it, you can help me?
– Khallanak Ginovaef Arklaynnost
Apparently there is no class called
Tarefa.– Jéf Bueno
The class name is wrong, try as
val minhaTarefa = TarefaDeCasa("Daniel", "Programação", 10, "30 de Setembro")– Denis Rudnei de Souza
That’s exactly what it was!!! Thank you guys so much! I managed to make the code!
– Khallanak Ginovaef Arklaynnost