Why LinkedList
and ArrayList
extends AbstractList
in Java?
Abstract classes are used when we want to specify a common beh
Usage is noted at the top of the AbstractList source file
"This class provides a skeletal implementation of the {@link List} interface to minimize the effort required to implement this interface backed by a "random access" data store (such as an array). For sequential access data (such as a linked list), {@link AbstractSequentialList} should be used in preference to this class."
So essentially it provides some methods to build around and a framework that is more robust than the List interface.