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 verbatim string literal in c#?
Explain the difference between const and static read-only?
Why do I get a "cs5001: does not have an entry point defined" error when compiling?
What is int16?
What is binary search tree in data structure?
What is the difference between ref & out parameters in c#?
What is difference between Enum and Struct?
What is type class in c#?
Why do we use constructors in c#?
What is the difference between field and variable in c#?
What is the meaning of extention?
What is a delegate? Explain.
Should I make my destructor virtual?
Where is the keyword void used?
What is a function c#?