Java Interviews
Java Interview
An anonymous class may implement an interface or extend a superclass, but may not be declared to do both.