Introduction to Objects and Classes
We'll cover the following...
Kotlin supports the object-oriented paradigm, but with a few twists. The compiler does a healthy dose of code generation to remove boilerplate code and also provides a few special types of classes not available in Java. In this part, you’ll learn the benefits of data classes, sealed classes, companion objects, singletons, and more. From the design point of view, you’ll learn when to use inheritance vs. delegation, both of ...