What is anonymous inner class Mcq?

Explanation: Anonymous inner classes are the same as the local classes except that they don’t have any name . The main use of it is to override methods of classes or interfaces.

Sizin İçin Seçtik  Why do we make inner class static in Java?

Leave a Reply

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