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:
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.javaStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started