anonymous inner class

Inner Classes Types in Java

Inner class is a non-static nested class and which can access directly to its enclosing members or properties.

Inner class can be differentiate in to three types such as

  • Member inner classes
  • Local inner classes
  • Anonymous inner classes

(more…)

Advertisements