?? tom.java
字號:
public class Tom{
int leg;
String head;
void cry(String s){
System.out.println(s);
}
}
class Example{
public static void main(String args[])
{ Tom cat;
cat=new Tom();
cat.leg=4;
cat.head="貓頭";
System.out.println("腿:"+cat.leg+"條");
System.out.println("頭:"+cat.head);
cat.cry("我今天要和Jerry拼了");
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -