Interviews2 answers
2 Answers
when youn want to provide security for the class.you declare sealed class.If you declare sealed class the class can not inerited to other class.
venkat yaramaliPosted Jun 20, 2007, 8:23 PM EDT
The sealed modifier is used to prevent derivation from a class. An error occurs if a sealed class is specified as the base class of another class. A sealed class cannot also be an abstract class.
Amit DasPosted Jun 20, 2007, 3:32 AM EDT