Question: Hey eveyone I need help with this java thing I am working on. All help is greatly appreciated! If you can include comments too that'll
Hey eveyone I need help with this java thing I am working on. All help is greatly appreciated! If you can include comments too that'll be a big help! Thanks in advance!
You will implement a referenced based generic class, LinkedList, that represents an unordered Singly Linked List. The Singly Linked List will have a dummy head node. The Class should also implement the interface List from the Java API. However, since the List interface contains a lot of methods, some of which we havent covered, you need to implement only the following methods:
add(E o)
add(int index, E element)
clear()
contains(Object o)
get(int index)
indexOf(Object o)
isEmpty()
remove(int index)
size()
For all other methods throw UsupportedOperationException.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
