Vidyalelo
Computer Science · Q195

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 195

Q195

How do you create an empty list in Kotlin?

A.
emptyList()
Answer
B.
listOf()
C.
list()
D.
mutableListOf()

Answer: Option A

Solution

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