In the below code, the SHAPE class has a pure virtual function and is an abstract class (cannot be instantiated). Each class is derived from SHAPE implementing Draw () function in its own way. Further, each Draw function is virtual
Pure Virtual Function and Abstract Class with Shape, Rectangle and Triangle Example
