Question from the Kotlin test

How to use the lazy keyword in Kotlin

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 486 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!