⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 abstractuser.java

📁 一个 用java实现的 生信息管理系统,其中 数据库是用Oracle
💻 JAVA
字号:
//姓名, 性别, 生日, 地址, 身份证号码

package txl.student.user ;



/*
 *抽象类,对用户接口提供默认实现
 */

public class AbstractUser {

	protected String name = null;				//姓名,真实姓名
	protected String birthday = null;			//生日
	protected String address = null;			//地址
	protected String cardID = null;				//身份证号码
	protected String sex = null ;			    //性别
	//protected String userName = null ;        //用户名
    /*
	public void setName(String name)
	 {
		 this.name = name ;
	 }
	public String getName()
	 {
		 return this.name ;
	 }
	public void setBirthday(String birthday)
	 {
		 this.birthday = birthday ;
	 }
	public String getBirthday()
	 {
		 return this.birthday ;
	 }
    public void setAddress(String address)
	 {
		 this.address = address ;
	 }
	public String getAddress()
	 {
		 return this.address ;
	 }
	public void setCardID(String cardID)
	 {
		 this.cardID = cardID ;
	 }
	public String getCardID()
	 {
		 return this.cardID ;
	 }
	public void setSex(String sex)
	 {
		 this.sex = sex ;
	 }
	public String getSex()
	 {
		 return this.sex ;
	 }

	public String toString()
	{
		return "姓名:" + this.getName() ;
	}
  */
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -