Question: Suppose we have the following existing ADT java files: Writing a program that helps to enter patients information: Write a class patientInfo which contains the

Suppose we have the following existing ADT java files:

Suppose we have the following existing ADT java files: Writing a program

Writing a program that helps to enter patients information: Write a class patientInfo which contains the following data and methods: Data: PatientName (String). PatientID (int). Methods: Getter and Setter for each data item. toString method. Display this menu: 1:Merging two Single Linked List structure type 2:Merging two Stacks data structure type 3:Merging two Queses data structure type 4:Merging Single Linked List with Stack to Linked List 5:Merging Single Linked List with Queue to Linked List 6:Merging Singly Linked List with Stack only Patients name that start with S to Queue Ask the user to choose the data structure type from a given list to be merged. If you choose any of the above options: 1.You must request [the size of data structures and patient information] from the user. 2. Print the data structure before the merge. 3. Print data structure after the merge.

LLstack.java Node.java Patient.java

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!