How would you stop a class from class from being derived or
inherited.
Answer Posted / selvam
but onething.If you make constructor as private you will
not be able to create an object of that class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what are the realtime excercises in C++?
Why do we use inheritance?
What are main features of oop?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is difference between inheritance and polymorphism?
What is abstraction encapsulation?
What is abstract class in oop?
What is a class and object?
What is abstraction in oops?
What is polymorphism what is it for and how is it used?
explain sub-type and sub class? atleast u have differ it into 4 points?
What is difference between abstraction and encapsulation?
What does and I oop mean in text?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is constructor overloading in oop?