Previous Page Next Page Start of Tutorial > Start of Trail > Start of Lesson Lesson Contents

Trail:
To 1.1 -- And Beyond!
Lesson:
What's New in 1.1?



Help on searching
is available.

Search technology
by Excite, Inc.

Miscellaneous

The following changes were also made to the JDK 1.1 release.
  • 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 the intValue 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(in the API reference documentation), Short(in the API reference documentation), and Void(in the API reference documentation)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.
 
Previous Page Next Page Start of Tutorial > Start of Trail > Start of Lesson Lesson Contents