Question #213922

a)    Can we declare base class constructor or destructor as virtual if yes then why we want to do?



Expert's answer

A  base class constructor cannot be declared as virtual.

A  base class destructor can be declared as virtual. Virtual makes sure the destructor starts at the top instead of the middle


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS