Question
Your task is to create software for an occupation list object that uses a linked list instead of an array, then substitute this new class
Your task is to create software for an occupation list object that uses a linked list instead of an array, then substitute this new class for the array-based occupation list class in a copy of the Occupation List assignment you have been working on. You will also need to add a list node class to the project.
You should start by making a copy of the first IntelliJ Occupation List project, then work with that copy. You do not need to work with the project that involves menus, just the original Occupation List project.
the new Occupation List class will have properties and methods with names matching those in the array-based Occupation List class, so you should be able to substitute the linked list class into the project in place of the array-based class without changing the main executable class or the Occupation class.
You will need to create a ListNode class in addition to the new Occupation List class.
So, you will need to create two classes a class for a list node and a class for the list itself.
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