<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/** An instance represents a point (x, y) in the plane */ 
public class Point { 
    private int x;  // the x-coordinate 
    private int y; // the y-coordinate 
    /** Constructor: An instance for point (xxx, yy) */ 
    public Point(int xxx, int yy) { 
        x= xxx;
        y= yy;
    } 
    
    /** = a representation of this point in form Ò(x, y)Ó */ 
    public String toString() { 
        return "(" + x +", " + y + ")"; 
    } 
} 
</pre></body></html>