You can prevent your class being derived using sealed
keyword.
But you can't use that class as base class once you make
that sealed.
Sealed and Derived both are opposite.
keyword.
But you can't use that class as base class once you make
that sealed.
Sealed and Derived both are opposite.
Comments
Post a Comment