✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
class Rectangulo(val ancho: Int, val alto: Int) {
fun area(): Int {
return ancho * alto
}
}
val r = Rectangulo(5,3)
println(r.area())
¿Cuál es el resultado?