Jasper Reports Developer Question:

Can anonymous class be declared as implementing an interface and extending class in Java Programming?

Jasper Reports Developer Interview Question
Jasper Reports Developer Interview Question

Answer:

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


Previous QuestionNext Question
Which class is superclass for the every class in Java Programming?Which invokes thread's run() method in Java Programming?