ClassInterfaceTest in the example given is not anonymous, since it has a name.
The creation of an anonymous class depends on an implied extension or implementation. The implication is completely taken from syntax, and the syntax itself does not allow for...uh..."multiple implications," if you will.
Here's one that gets used in GUI code all the time:
The subclass of WindowAdapter is understood from the context of the open brace following the constructor call. There's no name and no differentiation between a subclass and an implementation. Consider the implementation of ActionListener below:
So subclasses and implementations are syntactically identical when writing an anonymous class. That being said, there's simply no provision for doing this more than once per instance.
------------------
Michael Ernest, co-author of:
The Complete Java 2 Certification Study Guide
[This message has been edited by Michael Ernest (edited January 09, 2001).]