Java Reference
In-Depth Information
Understanding Error Messages
Figure 10-56a displays a portion of a Java program. Figure 10-56b displays the
compilation error messages. Using what you know about error messages, list the
coding error that caused TextPad to display these errors.
FIGURE 10-56a
FIGURE 10-56b
Using the Java API
The Java API is a good tool to look up information about a class with which you
may be unfamiliar or to check the syntax of commands and methods you wish
to use in your programs. While connected to the Internet, start a browser, type
http://java.sun.com/j2se/1.5.0/docs/api/ in the Address text box and
then press the ENTER key to view the Java API Specification on the Sun Web site. The
Java API is organized by the packages, hierarchically, but many programmers click
the Index link located at the top of the page to display the entire list alphabetically.
With the Java API Specification open in the browser window, perform the following
steps.
Search WWH ::




Custom Search