edited by
609 views
0 votes
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. (i) and (ii) only
  2. (i), (ii) and (iii)  only
  3. (i), (ii) and (iv) only
  4. (ii), (iii) and (iv) only
edited by

1 Answer

1 votes
1 votes
C

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

Related questions

1 votes
1 votes
2 answers
1
4 votes
4 votes
6 answers
3
soujanyareddy13 asked May 12, 2021
1,919 views
The Boolean expression $AB+A \overline{B}+\overline{A}C+AC$ is unaffected by the value of the Boolean variable _________.$A$$B$$C$$A, B$ and $C$