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
Does c# have primitives?
What is a template class?
Why should you override the tostring() method?
What is difference between variable and property in c#?
What is the correct way of declaring an xml namespace?
What is access specifier in c#?
What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?
Can hashtable have duplicate keys in c#?
What are the different types of assemblies available and their purpose?
Is c# dictionary a hash table?
How can I develop an application that automatically updates itself from the web?
What is trim in c#?
What is difference between c sharp and c#?
Is is possible to force garbage collector to run?
Is c# good for beginners?