Java Reference
In-Depth Information
instantiated.Finally, Math and StrictMath areexamplesofutilityclassesbecause
they exist as placeholders for static methods.
Package
The java.lang.Package classprovidesaccesstoinformationaboutapackage(see
Chapter 3 for an introduction to packages). This information includes version details
abouttheimplementationandspecificationofaJavapackage,thenameofthepackage,
andanindicationofwhetherornotthepackagehasbeen sealed (allclassesthatarepart
of a package are archived in the same JAR file).
Table 4-2 describes some of Package 's methods.
Search WWH ::




Custom Search