1. Write LinkedList class that implementsListADT and Iterable interfaces.Use the provided SinglyLinkedNode class to createthe links.
2. Write the private inner class ListIteratorinside the LinkedListclass. ListIterator class mustimplements Iterator interface.
2. Write LinkedOrderedList class that extendsLinkedList class and implementsOrderedListADT.
3. Modify class Animal so it implementsinterface Comparable. Implement methodcompareTo in class Animal. This methodshould compare animals by their name in alphabetical order. MethodcompareTo will be used by theadd method in the OrderredLinkedListclass. Method add in the LinkedOrderdList adds animals tothe list in the order specified by the method compareTo inthe Animal class..
4.Use an application to use create an ordered list of animals.Create mammal and
PayPal Gateway not configured
PayPal Gateway not configured