Examveda

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

D. Each secondary constructor must have the same name as the class

Answer: Option C


This Question Belongs to Computer Science >> Kotlin Program

Join The Discussion

Related Questions on Kotlin Program

What is Kotlin?

A. A new version of Java.

B. A JavaScript framework.

C. A statically-typed programming language for the JVM, Android, and browser.

D. A database management system.