Implementation of own LinkedList
java, linked-list
Solution
List is an interface. So, there won't be any default implementation. You can choose to implement one if you need. Note that if you override equals, you must override hashcode as well.
Problem
I am implementing my own `LinkedList`. I've a class which calls `MyLinkedLlist`, inside `MyLinkedList` only `size()` and `iterator()` have been implemented. Besides I've one Abstract class where all my other necessary functions for `LinkedList` in. The abstract class prototype is: ``` public abstract class MyAbstractSequentialList implements List ``` I wonder if I need to implement `equals()` method inside my abstract class or it is already implemented for me because of I inherit `List`?