Exploring Basic Concepts
Pure virtual destructor C++: is declared just like a pure virtual function, i.e. having =0 in…