CS 1713 Introduction to Computer Science, Spring 2008 Project 2 Comments
- Grading:
     Part 1: 10 points
     Part 2: 5 points
     Part 3: 5 points
- Make something a field only if it is part of the state of the object.
- You must test the set methods in Part 1.
- The only printing that should be done is in the tester and
outputSortedList.
- employee is not a good name for a list of employees.
employees is OK.
- You should be able to tell if the program is working by reading the output.
- The following does not work for outputSortedList:
     ArrayList<Employee> newList = list;
     sort newList
This will also sort the original list so that findEmployee
will no longer work.
You need to do something like:
     ArrayList<Employee> newList =
new ArrayList<Employee>();
     for (int i=0;i<list.size();i++)
        
newList.add(list.get(i));
A solution will eventually be available
here