Menu

[Solved]Gaddis Tony Starting Java 4th Edition Employeemap Class Create Employee Class Stores Emplo Q37134349

Gaddis, Tony. Starting Out with Java 4th edition.

EmployeeMap Class Create an Employee class that stores anemployee’s ID number and name. Then create an EmployeeMap classthat allows you to add Employee objects and look them up by theirID numbers. The EmployeeMap class should use a Map object to map IDnumbers to Employee objects. Create an application to demonstratethe classes.

Refer to Program Challenge #3 found on page 1193 of the text.Which is the program above this sentence.

Use the program specifications as a basis for the project butinclude the following modifications:

Use a JOptionPane to prompt the user for an input file name. Ifthe file doesn’t exist or is empty, display an error message usinga JOptionPane and quit. Use try-catch blocks to trap and handleexceptions. Read the employee data from the file and createEmployee objects. Use a JOptionPane to prompt the user for anemployee name to look up. Use another to display the result of thesearch. Let the user run the application until they type in thestring “done.” Include Javadoc documentation at the class andmethod levels.

Expert Answer


Answer to Gaddis, Tony. Starting Out with Java 4th edition. EmployeeMap Class Create an Employee class that stores an employee’s… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *