How can you prevent classes to be inherited?
Answer Posted / nagesh rajarapu
by using sealed keyword before the class name
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do I get an error (cs1006) when trying to declare a method without specifying a return type?
What is the use of 'as' Keyword in C# ?
Can int be null c#?
What is a protected class c#?
Give an example of removing an element from the queue?
What are the concepts of dispose method?
How can you write a class to restrict that only one object of this class can be created (Singleton class)?
What is as keyword in c#?
What is an example of a delegate?
What is the use of generics in c#?
What is virtual in c#?
What's c# ?
What is the difference between method parameters and method arguments. Give an example?
What is an interface class? Give one example of it
Are structs value types c#?