Question: What is the order of Constructors call when the object of derived class B is declared, provided class B is derived from class A?

Options

A : Constructor of A followed by B

B : Constructor of B followed by A

C : Constructor of A only

D : Constructor of B only

Click to view Correct Answer

Next

Cplusplus Programming Inheritance 2 more questions

Fig 15.1 represents?

What should present when throwing a object?

What does derived class does not inherit from the base....

What are the things are inherited from the base class?

How constructors are different from other member functions of the....

A milk order, including pricing and other provisions, becomes effective....

On what are the organisms are dependent on their food?

Which of the following is true about limiting reagents?

Which of the following is true about excess reagents?

What is the advantage of recursive approach than an iterative....

Chemical Engineering Basics - Part 1 more Online Exam Quiz

Cplusplus Programming Functions

Cplusplus Programming Function Templates 2

Cplusplus Programming Functors

Cplusplus Programming Generators

Cplusplus Programming Inheritance 1

Cplusplus Programming Iterators

Cplusplus Programming Lambda Expressions

Cplusplus Programming More Containers

Cplusplus Programming Namespaces 2

Cplusplus Programming Objective