+ 1

What are sealed classes in Kotlin?

10th Nov 2018, 10:58 AM
Tobibur Rahman
Tobibur Rahman - avatar
2 odpowiedzi
+ 2
Sealed classes are used when a value can have only one of the types from a limited set!! For more info visit the link: https://kotlinlang.org/docs/reference/sealed-classes.html https://stackoverflow.com/questions/50772328/what-are-sealed-classes-in-kotlin
10th Nov 2018, 11:58 AM
AL Araf
AL Araf - avatar