public class Point
extends java.lang.Object
| Constructor and Description | 
|---|
| Point()Default constructor. | 
| Point(float x,
     float y)Constructor. | 
| Point(Point other)Copy constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| int | hashCode() | 
| java.lang.String | toString() | 
public Point(float x,
             float y)
x - the x coordinate of the point.y - the y coordinate of the point.public Point(Point other)
other - copied object.public Point()