Answer Posted / mukesh kumar
A class which restricts inheritance for security region is
called Sealed class.
Sealed class is the last class in hierarchy that why a
sealed class can be a derived class but can never be a base
class.
To access the members of sealed class we should create the
instance object.
Advantages of sealed class is it restrict the third party
vendor for developing new software by inheriting from our
logic.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is array collection?
What are bitwise logical operators?
Define clr in .net?
Is it possible to have a static indexer in c#? Allowed in c#.
What is the difference between protected and internal in c#?
Explain get and set accessor properties?
How to use exception handling in stored procedure?
Is class reference type c#?
What are regular expressions? Search a string using regular expressions?
How big is an int16?
How does substring work in c#?
In which way you can convert a value-type to a reference-type?
What is expression tree in c#?
What is the purpose of the integer parse method the decimal parse method?
How can you write a class to restrict that only one object of this class can be created (Singleton class)?