Types of inner classes in Java Programming language?
Answer»
Types of inner classes in Java Programming language? There are 3 MAIN types in inner classes in Java. (1)Member Inner Class:-Member Inner class specifies a class within the class by using OUTSIDE method. (2)ANONYMOUS Inner Class:-Here we use this for extending the class or specifying the implementation of interface. (3)Local Inner Class:-Here we use this to create a class within the method.