History, asked by Amil6353, 1 year ago

Which is true about an anonymous inner class?

Answers

Answered by yogeshwarleve
0
It can extend exactly one class or implement exactly one interface. It can implement multiple interfaces regardless of whether it also extends a class. Explanation: ... Option B is correct because anonymous inner classes are no different from any other class when it comes to polymorphism
Answered by Anonymous
0
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.
Similar questions