# Working with Collections

In week 1, we introduced you to arrays as a data structure. As a Java developer, it is essential that you understand how to work with arrays because you will need to work with arrays frequently. But Java includes other data structures that make working with lists of data more convenient. These data structures are grouped into a category of classes we call `Collections`. Collections are classes that provide well-known solutions for common tasks when working with datasets. These tasks include: Adding items Removing items Iterating through items Finding items  Some collections perform better at quickly adding and removing items, while others excel at finding items in a very large collection. So, there is no one collection that is the best for all scenarios. In this chapter, we will introduce you to the `ArrayList` class. As the name implies, the `ArrayList` is a collection that uses an `Array` behind the scenes to manage data storage. Let's begin with a quick review of arrays.

Updated: November 16, 2026

## [Array Review](https://www.ask-codey.com/courses/java-full-stack-bootcamp/topics/array-review)

1. [What Arrays Solve](https://www.ask-codey.com/lessons/array-review-what-arrays-solve) (Apprentice): Arrays keep many values of one type under one name, with fast access to any item by its index.
2. [But… Arrays can be Tedious](https://www.ask-codey.com/lessons/array-review-but-arrays-can-be-tedious) (Apprentice): An array has a fixed size, so growing it, or inserting or removing an item in the middle, means copying and shifting items yourself.

## [Introduction to ArrayList](https://www.ask-codey.com/courses/java-full-stack-bootcamp/topics/introduction-to-arraylist)

1. [Introduction to ArrayList: an overview](https://www.ask-codey.com/lessons/introduction-to-arraylist-an-overview) (Apprentice): An ArrayList is a list that grows and shrinks for you, doing the copying and shifting you'd otherwise do by hand with an array.
2. [Working with ArrayList](https://www.ask-codey.com/lessons/introduction-to-arraylist-working-with-arraylist) (Apprentice): Create an ArrayList and use add, get, remove, size and clear to manage its items.

Source: https://www.ask-codey.com/courses/java-full-stack-bootcamp/chapters/working-with-collections
