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


LATEST TUTORIALS
APPROVED BY CLIENTS