Start of Tutorial > Start of Trail |
Search
Feedback Form |
This chapter begins with a general discussion about the life cycle of objects. The information presented applies to objects of a variety of types and includes how to create an object, how to use an object, and how the system cleans up the object when it's no longer being used. Next, this chapter explains how to use the core classes and built-in support for character data, numeric data, and arrays.
This chapter has been updated to reflect features and conventions of the latest release, JDK 5.0. If you notice any errors or omissions (or something you really like), please tell us.
The Java platform groups its classes into functional packages. Instead of writing your own classes to represent character, string, or numeric data, you should use the classes that are already provided by the Java platform. Most of the classes discussed in this chapter are members of the java.lang package. All classes in the java.lang package are available to your programs automatically; there is no need for you to explicitly make them available them with an
import
statement.
Start of Tutorial > Start of Trail |
Search
Feedback Form |
Copyright 1995-2005 Sun Microsystems, Inc. All rights reserved.