![]() |
syntactic unit > scoping unit > package > java.io |
![]() ![]() | ||||
java.io | ||||
subject | fact |
java.io | contains input and output classes | ![]() |
has definition A package that contains input and output classes | ![]() | |
has specification ![]() | ![]() | |
is a subtopic of Example Packages | ![]() | |
is a subtopic of Input and Output | ![]() | |
is an instance of package | ![]() | |
must be imported when you are using file input or file output streams | ![]() | |
package | can be imported | ![]() |
can be imported by using the import statement ![]() | ![]() | |
defines a name space ![]() | ![]() | |
groups classes or interfaces by function | ![]() | |
has purpose
| ![]() | |
has purpose to group together related classes into a subsystem ![]() | ![]() | |
is specified by a file that begins with a package statement | ![]() | |
is stored as a set of class files in a directory | ![]() | |
see also package name | ![]() | |
to create you put a class in it or put an interface in it by putting a package statement at the top of the source file in which the class or interface is defined | ![]() | |
to import you use the import statement with the asterisk wildcard character | ![]() | |
syntactic unit | has syntax rule bold = mandatory | ![]() |
Next package: java.lang Up: package Previous package: java.awt.swing