The Rectangle class

The Rectangle class publicly derives from Shape class. The Rectangle class will have two private data members - Length and Width. You may assume them to be integers. In addition to that, the class will have following functions, which you need to implement

  1. Rectangle(int length=0, int width=0): A rectangle class constructor.
  2. virtual int GetArea() const: An accessor that returns the area of the Rectangle. The formula for area of rectangle is length * width.
  3. virtual void Draw() const: This function should output a string such that we can identify that Rectangle's Draw function is called. For e.g., "Drawing a rectangle ..."
  4. virtual ~Rectangle(): A virtual destructor