<P> Public members and classes are visible everywhere and private members are visible only in the same class . Classes within a package can access classes and members declared with default (package - private) access as well as class members declared with the protected access modifier . Default (package - private) access is enforced when a class or member has not been declared as public, protected or private . By contrast, classes in other packages cannot access classes and members declared with default access . However, class members declared as protected can be accessed from the classes in the same package as well as classes in other packages that are subclasses of the declaring class . </P> <P> JAR files are created with the jar command - line utility . The command </P> <P> compresses all . class files into the JAR file myPackage. jar . The' c' option on the command line tells the jar command to "create new archive ." The' f' option tells it to create a file . The file's name comes next before the contents of the JAR file . </P> <P> Packages are usually defined using a hierarchical naming pattern, with some levels in the hierarchy separated by periods (., pronounced "dot"). Although packages lower in the naming hierarchy are often referred to as "subpackages" of the corresponding packages higher in the hierarchy, there is almost no semantic relationship between packages . The Java Language Specification establishes package naming conventions to avoid the possibility of two published packages having the same name . The naming conventions describe how to create unique package names, so that packages that are widely distributed will have unique namespaces . This allows packages to be separately, easily and automatically installed and catalogued . </P>

Package that stores all the standard java classes