Ugai
09/30/2022, 7:48 AMfun main() {
val v1 : Int = 0
class t {
val v1: Int =1
fun f0() : Int {
return v1
}
}
val t0 = t()
println(t0.f0())
}
I got 0. Is this correct?
I suppose it to be 1.Sam
09/30/2022, 7:51 AMUgai
09/30/2022, 7:55 AM