How can you prevent classes to be inherited?
Answer Posted / vijay sharma
We can prevent classes to be inherited by marking the
classes as sealed.
| Is This Answer Correct ? | 24 Yes | 0 No |
Post New Answer View All Answers
What is difference between float and integer?
What is the difference between yield and return?
Can constructor be protected?
Can you create partial delegates and enumerations?
What is c-sharp (c#)?
Why do we use classes?
Why generics are used?
What do you understand by 'access specifiers' in C#?
What do you mean by directing?
What is a derived class in c#?
What are the 2 broad classifications of data types available in c#?
Is int an object in c#?
How to use nullable types in .net?
Why constructor is used in c#?
Define delay signing?