?? testpeople_1.java
字號:
class People {
String Name;
long Num;
String Sex;
int Ages;
public People(String Name,long Num,String Sex,int Ages) {
this.Name=Name;
this.Num=Num;
this.Sex=Sex;
this.Ages=Ages;
}
public String ShowPeople() {
return("姓名:"+Name+" 編號:"+Num+" 性別:"+Sex+" 年齡:"+Ages);
}
}
public class TestPeople_1 {
public static void main(String args[]) {
People NewPeople=new People("宋菘",10010,"男",36);
System.out.println(NewPeople.ShowPeople());
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -