Sealed class

                                                    SEALED CLASS

The sealed class used to stop the inheritance level.The sealed classes cannot be inherited,
We get error if get the sealed class as base class.

Syntax

sealed class SealedClassName

{

   //this class cannot be inherited
}
Ebook Download
View all
Learn
View all