sealed class
Also written: sealed
An abstract class whose subclasses must all be in the same file, so a switch on it can be checked for completeness without a wildcard.
Also written: sealed
An abstract class whose subclasses must all be in the same file, so a switch on it can be checked for completeness without a wildcard.