Vidyalelo
Computer Science · Q221

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 221

Q221

How do you start writing an if statement in Kotlin?

A.
if x > y then
B.
if (x > y)
Answer
C.
if x > y()
D.
if x > y

Answer: Option B

Solution

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