in Others edited by
35 views
0 votes

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    
  4. Overloading is a type of polymorphism

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
in Others edited by
35 views

1 Answer

1 vote
C

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

Related questions