Collections utility: The java.util.Collections class provides sort(), reverse(), and other utility methods for Lists.
How to apply it: Use Collections.sort(list) to sort an ArrayList in ascending order.
Course: AP Computer Science A · Unit: ArrayList
Practice questions about Collections utility 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.