class Point
{
public int y;
public int x;
public int G;
public int H;
public Point()
{
}
public Point(int x0, int y0, int G0, int H0, Point F)
{
x = x0;
y = y0;
G = G0;
H = H0;
father = F;
}
public Point father;\\请问这个是变量,还是对象的引用?为什么father.x这样写也可以??
}
}