public static void main(String[] args){ //为Point类new一个对象,因为类里面有无参构造器,看不到,所以才能new出来, Point p2 = new Point(); p2.movePoint(2, 6); System.out.println("p2X轴的坐标为:"+p2.x+"\n" + "P2Y轴的坐标为 :" + p2.y); } } 1. 2. 3. 4. 5. 6. 7....