Troubleshooting
Class Should Be Declared Abstract
The compiler reports that a class should be declared abstract because it does not implement a particular method.
A class that is declared to implement an interface must explicitly be declared as abstract if it does not implement every method defined by that interface and its super-interfaces. If you don't intend for the class to be abstract , examine the signature for the method named in the compiler error to determine why your implementation does not match. To correctly override an interface method, you must define a method with the exact same name and parameter list.
Invalid Method Implementation Because of a Thrown Exception
The compiler reports that a method in your class cannot implement ...
Get Special Edition Using Java 2 Standard Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.