Quiz: Sealed Classes and Interfaces
Test your understanding of the concepts discussed in this chapter.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
What is the purpose of using sealed classes and interfaces in Kotlin?
A.
To represent a mutable collection of values
B.
To represent a fixed set of possible values
C.
To represent a restricted hierarchy of types
D.
To represent a hierarchy of types
1 / 5
...