Vidyalelo
Computer Science · Q111

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 111

Q111

How can you access variables initialized in a primary constructor in Kotlin?

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

Answer: Option D

Solution

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