-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathMain.java
More file actions
26 lines (20 loc) · 848 Bytes
/
Main.java
File metadata and controls
26 lines (20 loc) · 848 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
import java.util.ArrayList;
public class Main {
public static void main(String[] args) {
Employee[] employees = {
new Intern("Salavatore", "Senior Sofware Dev", 30000),
new Employee("Elodie", "HR", 20000),
new Employee("David", "Junior Sofware Dev", 15000),
new Employee("Tosin", "Sofware Dev", 18000),
new Employee("Colin", "Junior Sofware Dev", 15000),
new Employee("Rosca", "It", 19000),
new Employee("Ahmad", "Web Dev", 16000),
new Employee("Tino", "Web Dev", 16000),
new Employee("Kasia", "Senior Web Dev", 19000),
new Employee("Cesar", "Senior Web Dev", 18000)
};
for (Employee emp : employees) {
emp.displayDetails();
}
}
}