|
|
Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
The following changes were also made to the JDK 1.1 release.
Byte,Short, andVoidClasses
Bytes and shorts are accommodated as wrapped numbers by adding new classesByteandShort. The abstract classNumbergets two new concrete methods:byteValueandshortValue; the default implementations of these use theintValuemethod. A new class,Void, is an uninstantiable placeholder.
- The
@deprecatedtag
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.
ByteShortVoid
<APPLET> tag including
the ones new for 1.1.
|
|
Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
Copyright 1995-2004 Sun Microsystems, Inc. All rights reserved.