Kotlin Program - Study Mode

[#151] How can you create a variable with the numeric value 5?
Correct Answer

(D) val num = 5

[#152] Which operator is used to add together two values?
Correct Answer

(D) The + sign

[#153] Which operator can be used to compare two values?
Correct Answer

(D) ==

[#154] Select the method to pass data back from an activity in Android for Kotlin
Correct Answer

(B) startActivityForResult()

[#155] Which symbol is used for string templates/interpolation?
Correct Answer

(C) $