Java View all facts Glossary Help |
syntactic unit > scoping unit > package |
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 name | imported | package | Packages | all 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 | specification | imported | Example Packages | package | to group together related classes into a subsystem | A package that contains applet classes | applet classes | |||||||||
java.awt | specification | operating-system independent; a program using it will run under any operating system without changes | Java's application programming interface | Graphical User Interfaces | package | to group together related classes into a subsystem | A package that contains GUI widget classes | GUI widget classes | ||||||||
java.awt.event | specification | operating-system independent; a program using it will run under any operating system without changes | Java's application programming interface | Graphical User Interfaces | package | to group together related classes into a subsystem | 0 or more classes and 0 or more interfaces | |||||||||
java.awt.swing | javax.swing in Swing 1.1 (for JDK 1.1) and for the core package in JDK 1.2 | a name | operating-system independent; a program using it will run under any operating system without changes | Graphical User Interfaces | package | to group together related classes into a subsystem | Java 2 | 0 or more classes and 0 or more interfaces | ||||||||
java.io | specification | imported | Input and Output | package | to group together related classes into a subsystem | you are using file input or file output streams | A package that contains input and output classes | input and output classes | ||||||||
java.lang | specification | the only package that all classes automatically have access to | Java Basics | package | to group together related classes into a subsystem | the runtime system | 0 or more classes and 0 or more interfaces | |||||||||
java.util | specification | imported | Java Basics | package | to group together related classes into a subsystem | utilities including the Vector class | ||||||||||
javax.swing | a name | imported | Java's application programming interface | Example Packages | package | to 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 platforms | java.awt.swing in Java 1.1 | 0 or more classes and 0 or more interfaces |
Next scoping unit: block Up: scoping unit