How would you stop a class from class from being derived or
inherited.
Answer Posted / satya
By Declaring the Class as 'Sealed' in C# or
as "NotInheritable" in VB.NET
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
Why is polymorphism important in oop?
What is polymorphism explain?
What is protected in oop?
what type of question are asked in thoughtworks pair programming round ?
What is persistence in oop?
What is abstraction in oops?
What is polymorphism and its types?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What is overriding in oop?
What is polymorphism in oops with example?
What is polymorphism and example?
What is encapsulation c#?
Can you explain polymorphism?
What is polymorphism used for?
Why is oop useful?