Legal Declarations for Abstract Classes and Interfaces
Any non-abstract subclass of GraphicObject, such as Circle and Rectangle, must provide implementations for the draw and resize methods: When an abstract class is subclassed, the subclass typically provides implementations for all abstract methods of its parent class. However, if this is not the case, the subclass must also be declared abstract. As the … Read more…