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
Why is polymorphism used?
What is polymorphism in oops?
What is encapsulation selenium?
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?
What is overloading in oops?
What is meant by oops concept?
What are the benefits of oop?
What do you mean by variable?
What is the purpose of enum?
What is interface? When and where is it used?
What is multilevel inheritance?
Where is pseudocode used?
What are different oops concepts?
Is this job good for future? can do this job post grduate student?
What is destructor oops?