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 / uttama

constructors can not be inherited!
bcoz their work is to initialise the object of the class to
which they belong to!
so if they get inherited,how can they initialise the object
of the derived class!

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is polymorphism used?

586


What is polymorphism in oops?

558


What is encapsulation selenium?

554


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1581


What is overloading in oops?

598






What is meant by oops concept?

612


What are the benefits of oop?

607


What do you mean by variable?

577


What is the purpose of enum?

582


What is interface? When and where is it used?

1664


What is multilevel inheritance?

727


Where is pseudocode used?

565


What are different oops concepts?

578


Is this job good for future? can do this job post grduate student?

1694


What is destructor oops?

625