The Collections Framework

The Java Collections Framework: List, Set and Queue, what each promises, and which type to declare a variable with.

  • 8 cards
  • 5 questions
  • About 8 min
  • Intermediate to Advanced
Share

Java Collections Framework: the standard library's classes for holding a group of objects. There are dozens of them, and the choice looks like trivia until the wrong one costs a loop inside a loop; the map is smaller than the class list, because three interfaces each make one promise. It covers List, Set and Queue, declaring the interface rather than the class, why Map is not a Collection, and unmodifiable lists. It leaves out concurrent collections.

Contents

8 cardsnot started