Java Developer Question: Download Questions PDF
Can anonymous class be declared as implementing an interface and extending a class in Java Programming?
![Java Developer Interview Answer Java Developer Interview Question](https://globalguideline.com/public/images/interview/14.png)
Answer:
An anonymous class may implement an interface or extend a superclass, but may not be declared to do both.
Download Java Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
What is purpose of finalization in Java Programming? | Which invokes a thread's run() method in Java Programming? |