1.

Can An Anonymous Class Be Declared As Implementing An Interface And Extending A Class?

Answer»

An ANONYMOUS class may IMPLEMENT an interface or EXTEND a SUPERCLASS, but may not be DECLARED to do both.

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



Discussion

No Comment Found