Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 4 _ 2 Link based implementation of a List ADT Refer to the UML below to implement the data structure of a List (
Exercise Link based implementation of a List ADT
Refer to the UML below to implement the data structure of a List Refer to slide note
Step : Create a java interface, ListInterface, to define List ADT, please note, Listnterface
extends the interfaces of CollectionInterface and Iterable which is from java library. If there is
no CollectionInterface in your package, you need to create one.
Step : Create a java class, LinkedList, to implement the ListInterface interface.
Step : Create a java class, TestLinkedList, to test if your implementation works or not.
The testLinked List is provided and could you show each code and final output
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