Lesson 3: Classes and Objects

  1. What is the default behavior of classes in Kotlin?

  2. Which of the following is the correct way of declaring objects for class Book in Kotlin?

  3. What is true about extension functions in Kotlin?

    Choose as many answers as you see fit.

  4. Which of the following is true about data classes?

    Choose as many answers as you see fit.

  5. Which keyword is used to indicate that a class can be subclassed?