Can an anonymous class be declared as implementing an interface and extending a class? Ans. An anonymous class may implement an interface or extend a superclass, but may not be declared to do both. - Study24x7
Social learning Network
27 Oct 2023 11:22 AM study24x7 study24x7

Can an anonymous class be declared as implementing an interface and extending a class? Ans. An anonymous class may implement an interface or extend a superclass, but may not be declared to do both.

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles