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...

MC Inheritance represents a(n)______ relationship.

a) has-a. b) is-a. c) uses. d) None of the above.

Computer Science & Information Technology

Under UNIX, you can use __________ to copy a file from the command line.

a. the dup command b. copy and paste operations c. the dup utility d. the copy utility

Computer Science & Information Technology

The status bar lists the available space on the selected storage device.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following wireless networking protocols uses LTE technology with a maximum speed of up to 1 Gbps? ?

A. Third-generation cellular B. Fourth-generation cellular C. Fifth-generation cellular D. 802.11n Wi-Fi

Computer Science & Information Technology