Sla,вот чем закончилась:
public class Accountant {
public int[] calculateFullSalary (Employee[] employers) {
int[] result = new int[employers.length];
for (int i = 0; i < employers.length; i++)
result[i] = employers[i].getFullSalary();
return result;
}
public int[] calculateGetPercent (Employee[] employers) {
int[] result = new int[employers.length];
for (int i = 0; i < employers.length; i++)
result[i] = employers[i].getPercent();
return result;
}
}
Вад,а как реализовать постраничный вывод?