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


Please Help Members By Posting Answers For Below Questions

Why do we use class?

724


Why do we need polymorphism in c#?

791


What is overloading in oop?

653


What is cohesion in oop?

722


What is encapsulation in simple terms?

637






State what is encapsulation and friend function?

805


What is difference between oop and pop?

713


explain sub-type and sub class? atleast u have differ it into 4 points?

1931


What are the 4 main oop principles?

796


What is difference between class and object with example?

673


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6245


program for insertion ,deletion,sorting in double link list

2358


any one please tell me the purpose of operator overloading

2058


What does sksksk mean in text slang?

1687


What is balance factor?

682