userinfo.java
来自「21天学通java的示例程序源代码」· Java 代码 · 共 37 行
JAVA
37 行
package ezmail;
public class UserInfo implements java.io.Serializable {
private String pop3host;
private String user;
private String password;
private String emailAddress;
public UserInfo(String thePop3host, String theUser, String thePassword,
String theEmailAddress) {
pop3host = thePop3host;
user = theUser;
password = thePassword;
emailAddress = theEmailAddress;
}
public String getPop3host() {
return pop3host;
}
public String getUser() {
return user;
}
public String getPassword() {
return password;
}
public String getEmailAddress() {
return emailAddress;
}
public String toString() {
return user + " - " + emailAddress;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?