Review Questions

graphics/rq_icon.gif

11.1

Which of these are core interfaces in the collections framework?

Select the three correct answers.

  1. Set

  2. Bag

  3. LinkedList

  4. Collection

  5. Map

11.2

Which of these implementations are provided by the java.util package?

Select the two correct answers.

  1. HashList

  2. HashMap

  3. ArraySet

  4. ArrayMap

  5. TreeMap

11.3

What is the name of the interface used to represent collections that maintain non-unique elements in order?

Select the one correct answer.

  1. Collection

  2. Set

  3. SortedSet

  4. List

  5. Sequence