![]() ![]() ![]() |
Start of Tutorial > Start of Trail > Start of Lesson | Search |
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.
Byte
Short
Void
Accessing Resources
APPLET Tag
<APPLET>
tag including
the ones new for 1.1.
![]() ![]() ![]() |
Start of Tutorial > Start of Trail > Start of Lesson | Search |