How can you prevent classes to be inherited?
Answer Posted / dhiraj kumar pandey
We can prevent classes to be inherited by using the key
word SEALED.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is the difference between disposing of () and finalize() methods in c#?
What is an array? Give the syntax for a single and multi-dimensional array?
Difference between abstract classes and interfaces
Can we write class inside a class in c#?
What is activator c#?
When was c# created?
What is a datacontract?
How do I move from one form to another in c#?
Is a char?
What is lazy loading entity framework?
What is parsing?
What is the difference between func and action delegate?
What is difference between a constant and read-only in C#?
State two different types of access modifiers.
What is the use of return in c#?