Kotlin Program - Study Mode

[#201] How do we throw an exception in Kotlin?
Correct Answer

(A) throw Exception()

[#202] What does the data class not provide?
Correct Answer

(B) Automatic conversion from/to JSON

[#203] What is the entry point for a Kotlin application?
Correct Answer

(B) fun main(){}

[#204] The function to print a line in Kotlin is?
Correct Answer

(D) Both B & C

[#205] Which of the following separates function parameters
Correct Answer

(B) The character ,