Vidyalelo
Computer Science · Q92

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 92

Q92

What is the syntax for creating a subclass in Kotlin?

A.
class Subclass: Superclass
Answer
B.
class Subclass extends Superclass
C.
class Subclass inherits Superclass
D.
class Subclass implements Superclass

Answer: Option A

Solution

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