Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Person[] array=new Person[10];
- 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) };
- Employee.showEmployeeInfo();
- Employee.calculateOverTime(2);
- for (int i = 0; i < persons.length; i++)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement