Java   View all facts   Glossary   Help
syntactic unit > scoping unit > package
Next scoping unitblock    Upscoping unit

package comparison table
Subject rename to have be is part of is a kind of is a subtopic of defined by is an instance of have purpose import when introduce in import automatically by has definition provide call contain
default package a nameimported packagePackagesall the files in current directory storing temporary or small applications   An unnamed package that contains class files whose source files did not contain a package statement  0 or more classes and 0 or more interfaces
java.applet specificationimported  Example Packages packageto group together related classes into a subsystem   A package that contains applet classes  applet classes
java.awt specificationoperating-system independent; a program using it will run under any operating system without changesJava's application programming interface Graphical User Interfaces packageto group together related classes into a subsystem   A package that contains GUI widget classes  GUI widget classes
java.awt.event specificationoperating-system independent; a program using it will run under any operating system without changesJava's application programming interface Graphical User Interfaces packageto group together related classes into a subsystem      0 or more classes and 0 or more interfaces
java.awt.swingjavax.swing in Swing 1.1 (for JDK 1.1) and for the core package in JDK 1.2a nameoperating-system independent; a program using it will run under any operating system without changes  Graphical User Interfaces packageto group together related classes into a subsystem Java 2    0 or more classes and 0 or more interfaces
java.io specificationimported  Input and Output packageto group together related classes into a subsystemyou are using file input or file output streams  A package that contains input and output classes  input and output classes
java.lang specificationthe only package that all classes automatically have access to  Java Basics packageto group together related classes into a subsystem  the runtime system   0 or more classes and 0 or more interfaces
java.util specificationimported  Java Basics packageto group together related classes into a subsystem      utilities including the Vector class
javax.swing a nameimportedJava's application programming interface Example Packages packageto group together related classes into a subsystem    a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platformsjava.awt.swing in Java 1.10 or more classes and 0 or more interfaces

Next scoping unitblock    Upscoping unit