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
- A.
(i) and (iii) only
- B.
(i) and (ii) only
- C.
(ii) and (iii) only
- D.
(i), (ii) and (iii)
Attempted by 329 students.
Show answer & explanation
Correct answer: B
Loading lesson…