Sun provides extensive documentation of the API (library of available classes). The documentation for version 6 is available at http://download.oracle.com/javase/6/docs/api/
If you view that page, you will see a list of classes on the left as hyperlinks. Clicking a class name will bring up the documentation for that class on the right.
For example, click on
System. The page on the
right contains documentation on the elements of the class, categorized
by type of element (there are links at the top for fields, constructors,
Try to locate the
out field - note that
the field types, parameter types and return types are hyperlinked,
out is a
PrintStream. Click that, and
println methods in a table with short descriptions.
Select one to see the detailed description. The multiple versions are
an example of method
which we will cover in an upcoming lesson. Another lesson will cover
documenting your own classes with the same tool that created this documentation.
In this lesson, you have learned: