for(int i = 0; i<allE().length; i++)
{
Employee [] a = allE();
pw.print(a);
}

Normally you want to get the array of all employees outside the loop, then print out each employee...