ArrayList.add(): Appends an element to the end of the list, or inserts at a specified index.
How to apply it: Trace add(index, element) to see how it shifts existing elements right.
Course: AP Computer Science A · Unit: ArrayList
Practice questions about ArrayList.add() on AimFive — get rubric-based feedback showing exactly which points you earned.
AP and Advanced Placement are trademarks of College Board. AimFive is not affiliated with or endorsed by College Board.