October 2019
Intermediate to advanced
434 pages
11h 54m
English
In addition to classes, abstract classes, and data classes, Kotlin provides several other special types of class that can be utilized in different situations. These special classes can help us to improve explicit type safety in our code, efficiently represent sealed class hierarchies, and even simplify the singleton design pattern. In this section, we will explore the following:
We will examine each of these class types and how they can improve our Kotlin code.
Read now
Unlock full access