Vidyalelo
Computer Science · Q85

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 85

Q85

Which of the following is not a valid way to create an object in Kotlin?

A.
Using the keyword "new"
B.
Using the keyword "object"
C.
Using the keyword "instance"
Answer
D.
Using the keyword "val"

Answer: Option C

Solution

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