What is the use of the lazy keyword in Kotlin? - Study24x7
Social learning Network
5 followers study24x7 25 Oct 2024 10:23 AM study24x7 study24x7

What is the use of the lazy keyword in Kotlin?

A

It declares a variable that will only be initialized once it's accessed.

B

It makes a function run slower.

C

It is used for declaring a constant.

D

None of the above.

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles