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 difference between private and static constructor?
What is the use of regex in c#?
How do you create partial methods?
What is data binding with example?
What is serialization and deserialization in c# with example?
What is xml c#?
What are access modifiers in c#?
What is mvc pattern in c#?
Write a program to find the angle between the hours and minutes in a clock
What is parallel foreach c#?
Why objects are stored in heap in c#?
Is double a decimal?
List down the fundamental oop concepts?
Why do we need serialization?
How do I create multifile assembly?