The error i\'m getting is in the fillPayroll() method in the while loop where it says payroll.add(employee). The error says I can\'t invoke add() on an array type Person but th
If for whatever reason you can't use collections. you want to turn:
payroll.add(employee);
in to:
this.add(employee);