Default is the name for empty modifier. : default modifier « Modifiers « SCJP






A class's data and methods may be default, as well as the class itself. 

class MainClass{
    static void main(String[] argv){
        System.out.println();
    }
}
class MyClass{
  int i=0;
}

A class's default features are accessible to any class in the same package as its class. 
A default method may be overridden by any subclass that is in the same package.








3.3.default modifier
3.3.1.The default access mode (no modifier)
3.3.2.The following declarations are illegal for default modifier
3.3.3.Default is the name for empty modifier.
3.3.4.Default modifier for method