Java Package

From GM-RKB
Jump to navigation Jump to search

A Java Package is a file that can contain related Java Classes, Java Interfaces, Jave Enumerated Types or Java Annotation.



References

2011

  • http://en.wikipedia.org/wiki/Java_package
    • A Java package is a mechanism for organizing Java classes into namespaces similar to the modules of Modula. Java packages can be stored in compressed files called JAR files, allowing classes to download faster as a group rather than one at a time. Programmers also typically use packages to organize classes belonging to the same category or providing similar functionality. A package provides a unique namespace for the types it contains. Classes in the same package can access each other's package-access members.

      In general, a package can contain the following kinds of types.

2010