ArrayList in Java - GeeksforGeeks
ArrayList is initialized by the size. However, the size is increased automatically if the collection grows or shrinks if the objects are removed from the collection. Java ArrayList allows us to randomly access the list. ArrayList can not be used for primitive types, like int, char, etc. We need a wrapper class for such cases.
DA: 72 PA: 51 MOZ Rank: 77