Interview Question

Created by admin on Sat, 17/11/2012 - 16:33
Question: 

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

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