Can an anonymous class be declared as implementing an interface and extending a class?

Q

Can an anonymous class be declared as implementing an interface and extending a class?

✍: Guest

A

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

2012-06-28, 2252👍, 0💬