Nested classes can be static or non-static. Anonymous inner classes are often used for quick implementations.
← Core Java theorytheory 0/50 · 0%
OOP · hard
47. Inner Classes
Classes within classes.
Check your understanding
1. Non-static inner class has access to?
2. Static nested class needs instance?