What is inner class and its types?

Types of Nested classes TypeDescriptionMember Inner ClassA class created within class and outside method.Anonymous Inner ClassA class created for implementing an interface or extending class. The java compiler decides its name.Local Inner ClassA class was created within the method.Java Inner Classes (Nested Classes) – Javatpoint www.javatpoint.com › java-inner-class

Sizin İçin Seçtik  What is the advantage of static inner class?

Leave a Reply

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