java问题 定义一个Point点类
java问题 定义一个Point点类
日期:2017-11-25 22:52:53 人气:1
public class Point { private int x; private int y; public Point(int x, int y) { this.x = x; this.y = y; } public int getX() { return x; } public void setX(int x) { this.x = x; } public int getY() {