Programming Languages Java Objective
Mar 01, 2013

Which is true about an anonymous inner class?

Choose the correct answer:
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.
Detailed Explanation

Option C is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback