0
Maximum number of classes a sealed class can inherit ?
The answer is 1. But the sealed class restrict inheritance so how it can inherit a class ? anyone could please explain these doubt ?
1 Antwort
0
from a sealed class no other class can be derived (inherit). but the sealed class itself can inherit from a base class.
with other words: in the tree of classes with object asthe root, sealed classes are always leafs.