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
What does void do in c#?
What do you mean by expression tree?
Explain the various types of classes used in c#?
What is difference between override and new in c#?
What is multithreading with .net?
What is property in c#?
Explain manifest in c#.
What are the steps for creating clr trigger
What is view model in c#?
What are the different types of comments in c#?
What does executescalar return in c#?
What is the main purpose of delegates in c#?
Does c# support multilevel inheritance?
What are the basics of c#?
What is private constructor c#?