Vidyalelo
Computer Science · Q86

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 86

Q86

What is the purpose of the "constructor" in Kotlin?

A.
To define the properties
B.
To initialize the properties
Answer
C.
To define the methods
D.
To define the class

Answer: Option B

Solution

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