Multiple choice

"Collections" is?

  1. The interface that all java collections implement

  2. A class filled with static methods used to manipulate collections

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

java.util.Collections is a utility class in Java that consists entirely of static methods that operate on or return collections (such as sorting, searching, or making them thread-safe). The interface that collection classes implement is java.util.Collection (singular).