fun main(args: Array<String>) {
val minhaTarefa = TarefaDeCasa("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}")
}
}
//https://pt.stackoverflow.com/q/244722/101
ZnVuIG1haW4oYXJnczogQXJyYXk8U3RyaW5nPikgewogICAgdmFsIG1pbmhhVGFyZWZhID0gVGFyZWZhRGVDYXNhKCJEYW5pZWwiLCAiUHJvZ3JhbWHDp8OjbyIsIDEwLCAiMzAgZGUgU2V0ZW1icm8iKQogICAgbWluaGFUYXJlZmEuZW50cmVnYXIoKQp9CmNsYXNzIFRhcmVmYURlQ2FzYSgKICAgIHZhciBub21lRG9BbHVubzogU3RyaW5nLAogICAgdmFyIG5vbWVEYU1hdGVyaWE6IFN0cmluZywKICAgIHZhciBub3RhOiBJbnQsCiAgICB2YXIgZGF0YURlRW50cmVnYTogU3RyaW5nKSB7CgogICAgZnVuIGVudHJlZ2FyKCkgewogICAgICAgIHByaW50bG4oIm8gYWx1bm8gJHtub21lRG9BbHVub30gZW50cmVnb3UgYSB0YXJlZmEgZG8gZGlhICR7ZGF0YURlRW50cmVnYX0gZSByZWNlYmV1IGEgbm90YSAke25vdGF9IikKICAgIH0KfQoKLy9odHRwczovL3B0LnN0YWNrb3ZlcmZsb3cuY29tL3EvMjQ0NzIyLzEwMQ==