KOTLIN: Sealed Class
Sumber: https://www.tutorialspoint.com/kotlin/kotlin_sealed_class.htm In this chapter, we will learn about another class type called "Sealed" class. This type of class is used to represent a restricted class hierarchy. Sealed allows the developers to maintain a data type of a predefined type. To make a sealed class, we need to use the keyword "sealed" as a modifier of that class. A sealed class
| Penerbit | Taratsa |
|---|---|
| Tahun | 2022-07-18 |
| Bahasa | ind |
| Pengenal | bookid: urn:uuid:93e919b0-2cfb-530f-94b4-ff8deeceedc9 |