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
What are main features of oop?
What is the problem with multiple inheritance?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is encapsulation example?
What is protected in oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is the fundamental idea of oop?
write a program that takes input in digits and display the result in words from 1 to 1000
Can we create object of abstract class?
What are the components of marker interface?
What is polymorphism and why is it important?
Is html an oop?
Is react oop?
Why do we need oop?
What is the difference between encapsulation and polymorphism?