ArrayList in java is Resizable-array implementation of the
List interface for storing group of elements, which can be found in the
ArrayList in java allows duplicate values to store.
null values to store.
ArrayList preserves insertion order.
- The underlying data structure is Resizable-array (or) grow-able array.
ArrayList class to create
ArrayList() ArrayList(): is used to build an empty ArrayList object.
ArrayList(Collection c): is used to build an ArrayList initialized with the elements from any other Collection c
ArrayList(int capacity): is used to build an ArrayList with initial capacity being specified