Вложенный класс в Java 8
A regular nested class cannot access members of its outer class. But a nested class marked as an inner class can.
coder
A regular nested class cannot access members of its outer class. But a nested class marked as an inner class can.