In multilevel inheritance constructors will be executed
from the .... class to ... class
Answer Posted / chaitanya
In constructor of base1-----for object b1
In constructor of base1-----for object b2
In constructor of base2------for object b2
In constructor of base1-----for object d1
In constructor of base2-----for object d1
In constructor of derived----for object d1
In destructor of derived
In destructor of base2
In destructor of base1
| Is This Answer Correct ? | 12 Yes | 6 No |
Post New Answer View All Answers
to find out the minimum of two integer number of two different classes using friend function
What is difference between pop and oop?
What is the full form of oops?
What are the two different types of polymorphism?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is polymorphism and its types?
What is encapsulation and abstraction? How are they implemented in C++?
What are two types of polymorphism?
Can we define a class within the interface?
What is abstraction in oop with example?
What is encapsulation with real life example?
can we make game by using c
What are the benefits of oop?
What are the advantages of polymorphism?
What is an example of genetic polymorphism?