Kotlin Practice Test
Kotlin Kotlin Classes and Object-Oriented Programming 3
What is the `by lazy` delegation in Kotlin?
Select your answer
A
Creates a mutable property initialized on every access
B
Initializes a property only on first access and caches the result
C
Delegates a property to a companion object
D
Marks a property as optional
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49