Nested and Inner Classes in Java

The scope of a nested class is bounded by the scope of its enclosing class. Thus, if class B is defined within class A, then B does not exist