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

constructors cannot be private.

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the benefits of oop?

613


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1424


Why do while loop is used?

583


What is polymorphism in oops?

567


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4250






What is purpose of inheritance?

653


Why do we use inheritance?

635


Whats is abstraction in oops?

597


class type to basic type conversion

1847


What is difference between polymorphism and inheritance?

625


What is an example of genetic polymorphism?

657


write string class as your own class in java without using any built-in function

1984


What is a class in oop?

614


what is the drawback of classical methods in oops?

2926


Is data hiding and abstraction same?

577