One of hundreds of answers available with our premium content service.
A: Simple examples are not always strong examples, but this case shows an AreaInterface with a single method getArea() and how that is implemented in ConcreteCircle, ConcreteSquare and ConcreteRectangle classes.
publicinterfaceAreaInterface {doublegetArea(); }
… full answer hidden
Premium members click below for full answer
Can you show how to implement an interface?