📄 employee.java
字号:
public class Employee{
protected String id;
protected String name;
protected String address;
protected String city;
protected int age;
public Employee(){
}
public Employee(String id,
String name,
String address,
String city,
int age){
this.id=id;
this.name=name;
this.address=address;
this.city=city;
this.age=age;
}
public void printData(){
System.out.println(id);
System.out.println(name);
System.out.println(address);
System.out.println(city);
System.out.println(age);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -