One of hundreds of answers available with our premium content service.
A: Yes, this example of an abstract class hierarchy has a superclass AbstractShape that includes a concrete moveTo(int, int) method that will be inherited by any subclass. It also includes an abstract double getArea() method that must be implemented by any concrete subclass. The implementation of the getArea() method is different in the Circle and Square subclasses.
… full answer hidden
Premium members click below for full answer
Can you give an example of an abstract class?