Chapter 11: Problem 20
If a subclass extends a superclass with an abstract method, what must you do in the subclass?
Short Answer
Expert verified
Answer: When a subclass extends a superclass with an abstract method, it must provide an implementation for the inherited abstract method. To do this, the subclass needs to override the abstract method with a matching method signature (name, return type, and parameters), use the '@Override' annotation before the method, ensure the access level is not more restrictive, and write the method body to fulfill the superclass's abstract method description.