ArrayList (Java)

An ArrayList is a resizable, list-like collection in Java that can grow and shrink as you add or remove items. Unlike a plain array, it has no fixed size.

Welcome to LearnCodingFast — free, interactive programming lessons covering Python, JavaScript, Java, C++, C#, SQL, HTML/CSS, React, AI and more. Every course is hands-on with examples you can run in your browser.

Loading interactive version…