📄 a08367e08766001b157af7095cd7f21d
字号:
package distance;
/*describe the information of coordinate*/
public class Point {
private double XCoordinate;//x coordinate
private double YCoordinate;//y coordinate
public Point(){
}
/*set the value of x coordinate*/
public void setXCoordinate(double XCoordinate){
this.XCoordinate = XCoordinate;
}
/*set the value of y coordinate*/
public void setYCoordinate(double YCoordinate){
this.YCoordinate = YCoordinate;
}
/*get the value of x coordinate*/
public double getXCoordinate(){
return this.XCoordinate;
}
/*get the value of y coordinate*/
public double getYCoordinate(){
return this.YCoordinate;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -