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 interface is used?
What is overloading and its types?
what are the ways in which a constructors can be called?
What is a superclass in oop?
What is the diamond problem in inheritance?
Write a program to sort the number with different sorts in one program ??
What is abstract class in oop?
Prepare me a program for the animation of train
What is difference between abstraction and encapsulation?
What language is oop?
What is meant by multiple inheritance?
Templates mean
What is encapsulation selenium?
Can we create object of abstract class?
when to use 'mutable' keyword and when to use 'const cast' in c++