📄 point.java
字号:
/*
* Point.java
*
* Created on September 12, 2007, 7:56 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package Shape;
/**
*
* @author SHOWER
*/
public class Point {
/** Creates a new instance of Point */
public Point() {
}
public Point(double a,double b)
{
x=a;
y=b;
}
public void Output()
{
System.out.println("x="+x);
System.out.println("y="+y);
}
public void SetPoint(double x, double y)
{
this.x=x;
this.y=y;
}
double x;
double y;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -