When a private constructer is being inherited from one
class to another class and when the object is instantiated
is the space reserved for this private variable in the
memory??
Answer Posted / veena
When a constructor is made private, object of that class
can not be created. That is called as Abstract class.
constructors can not be inherited. Moreover, when this
class is inherited, the base class object can not be
created. So we can not create the derived class object
also.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Why we use classes in oop?
What is this pointer in oop?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What is object in oops?
What is super in oop?
what is different between oops and c++
What are the benefits of polymorphism?
What is destructor example?
Which method cannot be overridden?
What is multilevel inheritance in oop?
What is coupling in oops?
What is the difference between procedural programming and oops?
How do you define social class?
What is abstract class in oop?