-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEmployee.java
More file actions
42 lines (34 loc) · 833 Bytes
/
Employee.java
File metadata and controls
42 lines (34 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package databases;
public class Employee {
String empName;
String empID;
String empDOB;
public Employee(){}
public Employee(String empName, String empID){
this.empName = empName;
this.empID = empID;
}
public Employee(String empName, String empID, String empDOB){
this.empName = empName;
this.empID = empID;
this.empDOB = empDOB;
}
public String getEmpName() {
return empName;
}
public void setEmpName(String empName) {
this.empName = empName;
}
public String getEmpID() {
return empID;
}
public void setEmpID(String empID) {
this.empID = empID;
}
public String getEmpDOB() {
return empDOB;
}
public void setEmpDOB(String empDOB) {
this.empDOB = empDOB;
}
}