Multiple choice technology programming languages

Map is an interface which extends Collection interface?

  1. True

  2. False

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

In Java, Map is a separate interface from Collection. Map does NOT extend Collection - they are distinct hierarchies. Collection is for groups of objects, Map is for key-value pairs.