//Shape.h #ifndef SHAPE_H #define SHAPE_H class Shape { public: //pure virtual method //method without a definition virtual double area() const = 0; }; #endif