Table of Contents


About the Tutorial

The Java Language Tutorial: Object-Oriented Programming for the Internet is a practical, on-line guide to writing programs in the Java language. Java programs can be standalone applications, or they can execute within a Java-enabled browser such as HotJava.

Copyright

All of the material in The Java Language Tutorial is copyright protected and may not be published in other works without express written permission from Sun Microsystems. However, you can reuse small sections of source code from the tutorial's examples in your own Java programs.

Documentation Trails

This tutorial consists of a series of intersecting trails--programming lessons grouped together based on topic. To learn about a certain area of Java programming, go to the Trail Map and decide which trail is of interest to you and follow the link to the trail head for that trail. For example, if you are interested in information about writing applets, select the link to the Writing Applets trail, marked with this signpost.

The trail head is the first page on a trail and it lists, describes, and provides links to all of the lessons on the trail. Selecting a link from the trail head takes you to the lesson head for the lesson that you chose. The lesson head is the first page in the lesson and introduces the lesson, and typically provides an outline or overview of the lesson. Usually, several lesson pages comprise the entire lesson.

The Control Panel

Each page in The Java Language Tutorial has a control panel at the top with the following five elements:

The "Previous" link which takes you to the previous page in the lesson.

The "Next" link which takes you to the next page in the lesson.

This link transports you to the top of the tutorial: to the Trail Map.

This is a trail marker and is a link to the trail head of the current trail. Each trail has its own identifying trail marker--the symbol shown here is represents the Creating a User Interface trail.

Lesson Title And finally, this right-aligned (supposedly) link is the title of the current lesson and is linked to the lesson head (the first page in the lesson) of the current lesson.

In-Line Links

Links within the text of the tutorial have one of the following forms:


Table of Contents