?? yuanlei.java
字號:
class point{
int x,y;
void cs(int a,int b){
x=a;y=b;
}
}
class circle{
point center;
int radius;
circle(int a,int b,int r){center.x=a;center.y=b;radius=r;
}
}
public class yuanlei{
public static void main(String[] args)
{
circle area=new circle(0,0,5);
System.out.print("the area is:"+3.14*area.radius*area.radius);
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -