Answer Posted / gpriya
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.
It is not permitted to use the abstract modifier with a
sealed class.
Structs are implicitly sealed; therefore, they cannot be
inherited.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Why main is static in c#?
Explain how can you clean up objects holding resources from within the code?
What is difference between events and delegates?
How do you encapsulate in c#?
What is difference between dictionary and hashtable?
What is the difference between ref and out in c#?
What is a framework in c#?
What are Memory foot print of an exe?
What is escape character in c#?
Is collection a data structure?
What is console based application?
Why do we need abstraction in c#?
What are the extension methods in c#?
What is event sourcing in c#?
How does dll hell solve in .net?