How can you prevent classes to be inherited?
Answer Posted / dhara
we can prevent class to be inherite by making sealed class
by using keyword sealed.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Which are access modifiers available in c#?
Which of the following API is used to hide a window?
What is static void main in c#?
What is action in c# 3.5?
What is the benefit of delegate in c#?
What is cosole application?
What is whitespace in c#?
What does do in c#?
Why is dll used?
Can you pass parameters to destructors?
What exactly happens when we debug and build the program?
You have got 1 million parking slots. At a time a parking slot can be free or not. To get next slot easily which data structure to implement?
What is the usage of transponders?
Explain clr in brief.
What do constructors do in c#?