Untitled
unknown
plain_text
5 months ago
436 B
1
Indexable
Never
Class Point: public class Point { private int x, y; public Point() { x = 0; y = 0; } public Point(int x, int y) { this.x = x; this.y = y; } public void setX(int x) { this.x = x; } public void setY(int y) { this.y = y; } public void setXY(int x, int y) { this.x = x; this.y = y; } }