Kotlin Program - Study Mode

[#56] What is the purpose of the lateinit keyword in Kotlin?
Correct Answer

(B) To declare a variable that must be initialized before use

[#57] Which of the following is true about Kotlin?
Correct Answer

(B) It is an object-oriented programming language

[#58] What is the main advantage of using Kotlin over Java?
Correct Answer

(C) More concise syntax

[#59] In Kotlin, it is possible to inherit class properties and functions from one class to another.
Correct Answer

(B) True

[#60] What is the keyword used to define a destructor in Kotlin?
Correct Answer

(C) finalize