A sealed class cannot be inherited. It is an error to use a sealed class as a base class. Use the sealed modifier in a class declaration to prevent inheritance of the class.
Wednesday, February 6, 2013
sealed class
A sealed class cannot be inherited. It is an error to use a sealed class as a base class. Use the sealed modifier in a class declaration to prevent inheritance of the class.
Labels:
c# interview questions
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment