Class Scope: Code placed at the top-level of a class body resides in that class's scope.
package { public class SomeClass { // Code here is in the someClass scope } } package { public class SomeClass extends SomeParentClass { } } package { public class SomeParentClass { } }