I am currently reading the Sybex Roberts book "The Complete
Java 2 Cert book..yadda yadda yadda....there is a statement that I was wondering if someone could clarify for me. On page 192 it says that Anonymous inner classes may implement interfaces or extend other classes. Now I understand how the implicit implementation for interfaces takes effect, however, I was wondering about the "extend other classes" statement. Does this mean I should be able to create a new class anonymously like
new AnonymousClass() extends SomeClass {...}
or does this mean that you can perform an anonymous class instantiator for any class which extends another...Basically all the classes.
Any help would be appreciated.
RR