35 views

Which of the following statements are true regarding $\text{C++}$?

1. Overloading gives the capability to an existing operator to operate on other data types
2. Inheritance in object oriented programming provides support to reusability
3. When object of a derived class is defined, first the constructor of derived class is excecuted then constructor of a base class is executed

Choose the correct option from those given below:

1. (a) and (b) only
2. (a), (b) and (c)  only
3. (a), (b) and (d) only
4. (b), (c) and (d) only

C

As Statement C is wrong at first Base class constructors are called then derived class constructors.
by