Why LinkedList and ArrayList extends AbstractList in Java?
LinkedList
ArrayList
AbstractList
Abstract classes are used when we want to specify a common beh
Not all methods from AbstractList are overridden. Remember that AbstractList subclasses AbstractCollection, which defines methods like containsAll or toString which are not overridden by either ArrayList nor LinkedList.
AbstractCollection
containsAll
toString