Medium
val aVar by lazy {
println("I'm calculating this value")
"Hello"
}
println(aVar)
println(aVar)
println(aVar)
println(aVar)
At runtime, what will be displayed in the console?
Author: W3D TeamStatus: PublishedQuestion passed 522 times
Edit
Similar QuestionsMore questions about Kotlin