Vidyalelo
Computer Science · Q199

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 199

Q199

How do you start writing a for loop in Kotlin, to loop through arrays?

A.
for x
B.
for (x in y)
Answer
C.
for (x)
D.
for x in y

Answer: Option B

Solution

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