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?

Tags..  Java Classes  Java Interview  Java
Posted by: Lacuman | Views: 93 | Community Opinion: 1

Add Your Opinion

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
Your Name:
*your opinion/answer: