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
What are the benefits of oop?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< Why do while loop is used? What is polymorphism in oops? Write a program to implement OOPS concepts such as
inheritance, polymorphism, friend function, operator
overloading? What is purpose of inheritance? Why do we use inheritance? Whats is abstraction in oops? class type to basic type conversion What is difference between polymorphism and inheritance? What is an example of genetic polymorphism? write string class as your own class in java without using
any built-in function What is a class in oop? what is the drawback of classical methods in oops? Is data hiding and abstraction same?