Vidyalelo
Computer Science · Q209

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 209

Q209

How to access the elements of an array in Kotlin?

A.
array.get(index)
B.
array[index]
Answer
C.
array(index)
D.
None of these

Answer: Option B

Solution

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