Which is true about an anonymous inner class?
Options
- It can extend exactly one class and implement exactly one interface.
- It can extend exactly one class and can implement multiple interfaces.
- It can extend exactly one class or implement exactly one interface.
- It can implement multiple interfaces regardless of whether it also extends a class.
CORRECT ANSWER : It can extend exactly one class or implement exactly one interface.
Write your comments