Below is the question from a core java interview. Could somebody please help me?
There are designation and employee objects.
Designation Employee Designation object --> Designation object is in employee
ArrayList<employee> emptemp = new ArrayList<employee>();
Now we need to write an helper class or utility class which returns a 2 dimesional collection which displays the employees gorup by designation.