📄 point.java
字号:
/////////////////////////////////////// struct for point ///////////////////////////////////////public class POINT { public int x; public int y; public int color; public POINT(int xx,int yy) { x=xx; y=yy; // TODO: Add your code here } public POINT(int xx,int yy,int cc) { x=xx; y=yy; color=cc; // TODO: Add your code here } public POINT(){ x=0; y=0; } public POINT(POINT p){ x=p.x; y=p.y; } public void setPoint(int xx,int yy){ x=xx; y=yy; } public static boolean samePoint(POINT p1,POINT p2){ return ((p1.x==p2.x)&&(p1.y==p2.y)); } public String toString() { return ("("+x+","+y+",color "+color+")"); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -