-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEmployee.java
More file actions
58 lines (37 loc) · 866 Bytes
/
Employee.java
File metadata and controls
58 lines (37 loc) · 866 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
package org.emp;
public class Employee {
/*int empId;
String empName, empDob, empPhone, empEmail, empAddress;*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Employee emp = new Employee();
emp.empId();
emp.empName();
emp.empDob();
emp.empPhone();
emp.empEmail();
emp.empAddress();
emp.someName();// newly added method
}
public void empId() {
System.out.println("empId");
}
public void empName() {
System.out.println("empName");
}
public void empDob() {
System.out.println("empDob");
}
public void empPhone() {
System.out.println("empPhone");
}
public void empEmail() {
System.out.println("empEmail");
}
public void empAddress() {
System.out.println("empAddress");
}
public void someName() {
System.out.println("Employee files successfully Edited");
}
}