What's New in 1.1? |
The following changes were also made to the JDK 1.1 release.
Byte
,Short
, andVoid
Classes
Bytes and shorts are accommodated as wrapped numbers by adding new classesByte
andShort
. The abstract classNumber
gets two new concrete methods:byteValue
andshortValue
; the default implementations of these use theintValue
method. A new class,Void
, is an uninstantiable placeholder.
- The
@deprecated
tag
Used in documentation comments for unambiguously marking classes, methods, and fields that have been superseded by new API. The compiler issues a warning when it processes source code that uses deprecated API.
- Accessing Resource Files
JDK 1.1 provides a new mechanism for locating a resource file independently of its location. 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 class path.
- Additions to APPLET Tag (HTML)
Enhancements of the<APPLET>
tag used in HTML.Where to Find Documentation on These Topics
- The only information currently available for the
Byte
,Short
, andVoid
classes is the javadoc-generated API documentation.
- See Migrating to 1.1 for information about how JDK 1.1 supersedes old "out-of-favor" APIs and how to convert your programs.
- 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.
What's New in 1.1? |