2
Reply

What is sealed class?

Amit Das

Amit Das

Jun 20, 2007
7.2k
0

    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 yaramali
    June 21, 2007
    0

    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 Das
    June 20, 2007
    0