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

📄 employee.java

📁 这是一本描述JDBC数据库的书籍
💻 JAVA
字号:
/* * Employee.java * * Created on June 10, 2005, 2:14 PM * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */package ch02.pojo;import java.io.Serializable;/** * * @author kevin */public class Employee extends Person implements IEmployee,Serializable{    private String employeeID;    private String ssn;    /** Creates a new instance of Employee */    public Employee() {    }        public void setEmployeeID(String employeeID){        this.employeeID = employeeID;    }        public String getEmployeeID(){        return employeeID;    }        public void setSsn(String ssn){        this.ssn = ssn;        dirty();    }        public String getSsn(){        return ssn;    }        public String toString(){        return "\tfirst name:\t" + this.getFirstName() +                "\tlast  name:\t" + this.getLastName() +               "\taddress   :\t" + this.getAddress() +                 "\temployeeID:\t" + this.getEmployeeID() +               "\tssn:       \t" + this.getSsn();     }}

⌨️ 快捷键说明

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