Can you prevent your class from being inherited and becoming
a base class for some other classes?
Answer Posted / rakesh
We can also make the methods sealed.In that case ,the class
can inherit but the sealed methods in that class cannot
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain publishers and subscribers in events.
What is sqlconnection in c#?
Why we use get and set property in c#?
What is continue in c#?
Are classes passed by reference in c#?
what is object-oriented programming (oop) language?
How do I type a whitespace character?
Can arraylist hold primitive types?
What is difference between ienumerable and list in c#?
Is it possible to have a static indexer in c#?
What do u mean by delegation?
Is everything an object c#?
What is datetime parse in c#?
Describe the ways of cleaning up objects in c#.
What is the default value of string in c#?