Identify the correct statements. (i) Derived classes do not inherit or…

2018

Identify the correct statements.
(i) Derived classes do not inherit or overload constructors or destructors from their base classes.
(ii) Destructors can be declared with the keyword virtual.
(iii) Constructors can be declared with the keyword virtual.

Answer: B. (i) and (ii) only

  1. A.

    (i) and (iii) only

  2. B.

    (i) and (ii) only

  3. C.

    (ii) and (iii) only

  4. D.

    (i), (ii) and (iii)

Attempted by 329 students.

Show answer & explanation

Correct answer: B

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs

Loading lesson…