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


Please Help Members By Posting Answers For Below Questions

Why we use classes in oop?

746


What is this pointer in oop?

765


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3796


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.

1722


What is object in oops?

812


What is super in oop?

803


what is different between oops and c++

2160


What are the benefits of polymorphism?

838


What is destructor example?

756


Which method cannot be overridden?

746


What is multilevel inheritance in oop?

747


What is coupling in oops?

796


What is the difference between procedural programming and oops?

750


How do you define social class?

778


What is abstract class in oop?

721