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 is threading in c# with example?
What is the difference between method and function in c#?
What is tochararray in c#?
What is difference between iqueryable and ienumerable in c#?
What is serializable in c#?
What do u meant by "SBI" of an object?
Are string objects mutable or immutable?
Is multiple inheritance possible in c#?
What's the difference between system.string and system.text.stringbuilder classes?
What is delegate in c# interview questions?
What is meant by generics in c#?
What is .cs file in c#?
What are All kind of access specifiers for a class and for methods
What is meant by unicode characters?
Define a jagged array in c#?