}
class Point
{
public Point(int x, int y) {
super();
this.x = x;
this.y = y;
}
int x;
int y;
public int getX() {
return x;
}
public void setX(int x) {
this.x = x;
}
public int getY() {
return y;
}
public void setY(int y) {
this.y = y;
}
}
我的测试是2作者: 朱亚安 时间: 2012-3-19 01:52