Vidyalelo
Computer Science · Q108

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 108

Q108

How can you call a primary constructor from a secondary constructor in Kotlin?

A.
by using the this keyword
Answer
B.
by using the super keyword
C.
by using the constructor keyword
D.
by using the init keyword

Answer: Option A

Solution

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