Question: Java class implement a Linked List in your language. Use your Can class. You need to create a driver that makes several Can objects and

Java class

implement a Linked List in your language. Use your Can class. You need to create a driver that makes several Can objects and places them in alphabetical order in a list.

  1. Identify the necessary methods in a List Linked implementation. Look at previous Data Structures (stack or queue) and be sure to include all necessary methods.
  2. DO NOT USE your language's Library List. You will receive zero points.
  3. Write a LinkedList class
  4. Write a driver (tester) or write unit tests to test all your methods.
    1. Test add methods
    2. Test delete methods
    3. Test size
    4. Test print
    5. Test adding to empty list--handle exception

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!