Core Java theorytheory 0/50 · 0%
OOP · hard

47. Inner Classes

Classes within classes.

Nested classes can be static or non-static. Anonymous inner classes are often used for quick implementations.

Check your understanding

  1. 1. Non-static inner class has access to?

  2. 2. Static nested class needs instance?