+ 1
What are sealed classes in Kotlin?
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