Define a variation on StringLinkedListSelfContained from Listing 12.7 that stores objects of type Employee, rather than objects of type String. Write a program that uses this linked-list class to create a linked list of Employee objects, asks the user to enter an employee’s social security number, and then searches the linked list and displays the data for the corresponding employee. If no such employee exists, display a message that says so. The user can enter more social security numbers until indicating an end to the program. The class Employee is described in Programming Project 6 of Chapter 9. If you have not already done that project, you will need to define the class Employee as described there.

What will be an ideal response?

This project is closely related to the next one, which uses a file.

Computer Science & Information Technology

You might also like to view...

Before a column or row can be deleted from a table, the entire row or column must be selected

Indicate whether the statement is true or false

Computer Science & Information Technology

New magnetic locks were ordered for an entire building. In accordance with company policy, employee safety is the top priority.In case of a fire where electricity is cut, which of the following should be taken into consideration when installing the new locks?

A. Fail safe B. Fault tolerance C. Fail secure D. Redundancy

Computer Science & Information Technology