Advertisement
Guest User

Untitled

a guest
Feb 10th, 2018
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Person[] array=new Person[10];
  2. Person[] persons = { new Employee("Ivan", 0, false, 0), new Employee("Joro", 0, false, 0), new Person("Peter", 0, false), new Person("Mariika", 0, false), new Student("Gosho", 0, false), new Student("Penka", 0, false) };
  3. Employee.showEmployeeInfo();
  4. Employee.calculateOverTime(2);
  5.  
  6. for (int i = 0; i < persons.length; i++)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement