1. What is the keyword used to define a destructor in Kotlin?
2. What keyword is used to define a nested class in Kotlin?
3. Can an inner class have its own properties and methods?
4. How can an inner class access the outer class's properties and methods?
5. What keyword is used to create an instance of an inner class in Kotlin?
6. How can you initialize variables in a primary constructor in Kotlin?
7. What is the syntax for defining a secondary constructor in Kotlin?
8. How can you call a primary constructor from a secondary constructor in Kotlin?
9. How can you pass parameters to a primary constructor in Kotlin?
10. What is the syntax for defining a constructor with default values in Kotlin?
Read More Section(Kotlin Program)
Each Section contains maximum 100 MCQs question on Kotlin Program. To get more questions visit other sections.
