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

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

Lacuman
Views: 680 | Community Opinion: 1

Tags..  Java Classes  Java Interview  Java

Bookmark this page..



Ask a New Question Go to Home

Community Opinion/Answers
 
Quem Said..

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






What do you think? Add your opinion/answer
*Name
*your opinion/answer: