📄 mainclass.java
字号:
package p4;
import p2.Point;
import p3.circle;
public class Mainclass
{
public static void main(String agrs[])
{
Point p=new Point(3,4);
Point p1=new Point(3,4);
circle c=new circle(p,4);
System.out.println("Point x="+p.getx()+" y="+p.gety());
System.out.println("circle of c is c.center=("+c.center.x+","+c.center.y+") the radiu of c is"+c.r);
System.out.println("Relation of c(p,4) and c(p,5)"+c.relation(new circle(p,5)));
System.out.println(p.toString());
System.out.println(c.toString());
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -