Miscellaneous
The following changes were also made to the JDK 1.1 release, and
couldn't be categorized with any of the others. So here they are.
- Byte, Short and Void Classes
Bytes and shorts are accommodated as wrapped numbers by
adding new classes Byte and Short. The abstract class Number gets two new concrete methods:
byteValue and shortValue; the default implementations of these use intValue method. Also
includes a new class Void that is an uninstantiable placeholder class.
- The @deprecated tag
Used in documentation comments for unambiguously marking classes,
methods and fields that have been superseded by new APIs. The compiler issues a warning when it
processes source code that uses a deprecated API feature.
- Accessing Resource Files
APIs that provide a mechanism for locating resource files in a way
that is independent of the location of the resources. For example, this mechanism can locate a
resource file whether it is an applet loaded from the net using multiple HTTP connects, an applet
loaded using JAR files, or a "library" installed in the CLASSPATH.
- Additions to APPLET Tag (HTML)
Enhancements of the <APPLET> tag used in HTML.
Where to Find Documentation
- The only information currently available for the
Byte
,
Short
, and
Void
classes is the javadoc-generated API documentation.
-
See The @deprecated Tag
for information about how JDK 1.1 supersedes old "out-of-favor" API.
-
Accessing Resources
describes how you can locate resources in a location-independent manner.
-
APPLET Tag
documents all of the components of the
<APPLET> tag including
the ones new for 1.1.