When you access the online documentation link Java On-line Documentation (V9) you have access to many different Java documentation pages. We are interested in the link under "Java SE " (be sure to select Frames near the top).
Online Java 2 Documentation
Scroll down in the alphabetical class listing and click on the Point class (you can also click in the frame and search for Point).
This brings you to the documentation for the Point class, which should look something like this:
Note that the format is most likely different than the screen shots, but the information is the same.
Documentation for the Point Class
Let's go through this documentation and learn how to read it.
Reading the Documentation for the Point Class
Since the Point class is in the java.awt package, you must import it if you wish to use the class:
import java.awt.*;
If you scroll down more in the Point documentation, you will see an explanation of the constructors and other methods that belong to the Point class. Methods are explained with some text and with the methods's signatures. Let's look at the constructors for the Point class next.
Constructors for the Point Class
Methods Belonging to the Point Class
Read the toString() Method Signature