67,513
社区成员
发帖
与我相关
我的任务
分享
class User{
private String id;
private String pw;
private String email;
public User(String id, String pw){
this(id,pw,id+"@gameschool.com");
}
public User(String id, String pw, String email){
this.id = id;
this.pw = pw;
this.email = email;
}
other code:
......
}