[Logo]
Forums Register Login
dount in anonymous inner class
Which is true about an anonymous inner class?
A. It can extend exactly one class and implement exactly one interface.
B. It can extend exactly one class and can implement multiple interfaces.
C. It can extend exactly one class or implement exactly one interface.
D. It can implement multiple interfaces regardless of whether it also extends a class.
E. It can implement multiple interfaces if it does not extend a class.
http://faq.javaranch.com/java/DoYourOwnHomework

This thread has been viewed 849 times.

All times above are in ranch (not your local) time.
The current ranch time is
Sep 25, 2018 14:45:14.