AbstractList class

The AbstractList class is a part of the Java Collection Framework which implements the List interface and extends the AbstractCollection class.

AbstractList java
public abstract class AbstractListt<E> extends AbstractCollection<E> implements List<E>

The AbstractList class implements some methods of List interface and provides a skeletal implementation of the List interface. This class is used to minimize the effort required to implement List interface. This class provides a skeletal implementation for “random access” data store (such as ArrayList), for “sequential access” data (such as a linked list).

Leave a Comment

Follow us on Instagram & watch the latest videos on YouTube. Click below social icons to visit our Instagram & YouTube profiles.