Examveda

What does the lateinit keyword in a variable declaration indicate in Kotlin code?

A. The variable is never initialized.

B. The variable is only initialized at app runtime.

C. The variable is automatically initialized to null.

D. The variable will be initialized later. I promise!

Answer: Option D


This Question Belongs to Computer Science >> Kotlin Program

Join The Discussion

Related Questions on Kotlin Program

What is Kotlin?

A. A new version of Java.

B. A JavaScript framework.

C. A statically-typed programming language for the JVM, Android, and browser.

D. A database management system.