What is true about an anonymous inner class?

It can extend exactly one class and implement exactly one interface . It can implement multiple interfaces regardless of whether it also extends a class. It can extend exactly one class or implement exactly one interface.

Sizin İçin Seçtik  What is the difference between an interface and an abstract class explain with example?

Leave a Reply

Your email address will not be published. Required fields are marked *