💻ap computer science a review

Add(E obj)

Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated August 2025

Definition

The add(E obj) method is used to insert an element into a collection such as an ArrayList or LinkedList.

"Add(E obj)" also found in:

2,589 studying →