Vidyalelo
Computer Science · Q153

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 153

Q153

If a class has one or more secondary constructors, what must each of them do?

A.
Each secondary constructor must call super()
B.
Each secondary constructor must call base()
C.
Each secondary constructor must directly or indirectly delegate to the primary
Answer
D.
Each secondary constructor must have the same name as the class

Answer: Option C

Solution

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