userinfo.java
来自「Eclipse编程技术与实例一书配套的光盘代码全部内容」· Java 代码 · 共 93 行
JAVA
93 行
/*
* Created on 2005-8-4
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package param;
/**
* @author YE
*
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
public class UserInfo {
private String address;
private String birth_year;
private String birth_month;
private String name;
private String graduate_school;
/**
* @return
*/
public String getAddress() {
return address;
}
/**
* @return
*/
public String getBirth_month() {
return birth_month;
}
/**
* @return
*/
public String getBirth_year() {
return birth_year;
}
/**
* @return
*/
public String getGraduate_school() {
return graduate_school;
}
/**
* @return
*/
public String getName() {
return name;
}
/**
* @param string
*/
public void setAddress(String string) {
address = string;
}
/**
* @param string
*/
public void setBirth_month(String string) {
birth_month = string;
}
/**
* @param string
*/
public void setBirth_year(String string) {
birth_year = string;
}
/**
* @param string
*/
public void setGraduate_school(String string) {
graduate_school = string;
}
/**
* @param string
*/
public void setName(String string) {
name = string;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?