Vidyalelo
Computer Science · Q104

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 104

Q104

How can an inner class access the outer class's properties and methods?

A.
By using the "this" keyword
B.
By using the "outer" keyword
Answer
C.
By using the "parent" keyword
D.
By using the "super" keyword

Answer: Option B

Solution

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