Answer:
Inner class in Java is basically a class in a class, i.e. a member of another class.
There are 4 types of inner classes in Java.
a) Nested Inner class
b) Method local Inner class
c) Anonymous Inner class
d) Static nested class
5.6m questions
7.3m answers