Vidyalelo
Computer Science · Q54

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 54

Q54

Which of the following is true about Kotlin's when expression?

A.
It is similar to the switch statement in Java
Answer
B.
It is used to declare variables
C.
It can only be used with Boolean values
D.
It is used to handle exceptions

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board