Identify the correct statements. (i) Derived classes do not inherit or…
PYQ DSSSB 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.
- A.
(i) and (iii) only
- B.
(i) and (ii) only
- C.
(ii) and (iii) only
- D.
(i), (ii) and (iii)
Attempted by 898 students.
Sign up free to check your answer
Sign up freeLoading lesson…

