Vidyalelo
Computer Science · Q31

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 31

Q31

How do you create a single-line comment in Kotlin?

A.
// This is a comment
Answer
B.
/* This is a comment */
C.
# This is a comment
D.
None of these

Answer: Option A

Solution

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