public
class
Employee {
private
String name;
//姓名
private
int
id;
//员工号
private
int
num;
//员工数
public
Employee() {
//无参构造器
}
public
Employee(String name,
int
id,
int
num) {
//有参构造器
this
.name = name;
this
.id = id;
this
.num = num;
}
//下面是属性的get set方法
</