Question
programing with java PLEASE HELP Create the an application that can use different types of Linked List to manage the Candidate Records of a company.
programing with java PLEASE HELP
Create the an application that can use different types of Linked List to manage the Candidate Records of a company. The application should allow users can select the type of Linked List to work on. After finishing one, users can select to work with other type of Linked List until they want to exit
1. Singly Linked List
INSERT: Allow users to insert Candidate or Candidate with experience until users want to stop. For each Candidate or Candidate with experience: display message to ask users to enter all the information that needs to create an object then insert it to the Singly Linked List. When users finish inserting all nodes, display all the Singly Linked list to verify all are inserted
-FETCH: allow users to enter the id to look for the Candidate or Candidate with experience. If the Linked List is empty, display the message: There is no node in the Singly Linked List If the Candidate cannot be found, display the message: ID 12345 cannot be found where 12345 is the target key to look for the Candidate If the it is found, display the information of the Candidate or Candidate experience
-UPDATE: allow users to enter the id of the Candidate that they want to update Ask for new information, it could be address or salary; then set the new change to the node Update the new node to the Singly Linked List then fetch it to verify the change If the Linked List is empty, display the message: There is no node in the Singly Linked List If the Candidate cannot be found, display the message: ID 12345 cannot be found where 12345 is the target key to look for the Candidate
-DELETE: allow users to enter the id of the Candidate that they want to delete Delete the Candidate with the id. Fetch with the same id to verify the Candidate is deleted If the Linked List is empty, display the message: There is no node in the Singly Linked List If the Candidate cannot be found, display the message: ID 12345 cannot be found where 12345 is the target key to look for the Candidate
-SHOW ALL: show all nodes in the linked list
2. Singly Linked List with Iterator
-INSERT: Allow users to insert Candidate or Candidate with title until users want to stop. For each Candidate or Candidate with experience: display message to ask users to enter all the information that needs to create an object then insert it to the Singly Linked List. When users finish inserting all nodes, display all the Singly Linked list to verify all are inserted
-FETCH: -Fetch and display two first Candidate or Candidate with experience on the list
-UPDATE: -Add A in front of each ID of all Candidate or Candidate with experience in the Linked List with iterator The display all the Singly Linked List with iterator to see the change
-DELETE -Delete the node at third location on the Singly Linked List with iterator -Display the Singly Linked List with iterator to see the change
3. Java Linked List with Iterator
INSERT: -Allow users to enter the information of Candidate or ExperienceCandidate then for each one, insert to the Java Linked list. -After finishing insert, display the Java Linked List to show all the nodes
FETCH -Fetch and display first two Candidates or Candidates with experience on the list
UPDATE Update node at location 2 by changing its address, then display the list to see the change
DELETE -move forward the iterator one location then delete the node at current location -Display the list to see the change
Step 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