Why is the collection of the keys of a map a set and not a list?

Question:

Why is the collection of the keys of a map a set and not a list?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

Big Java, Enhanced Early Objects

ISBN: 9781119499091

7th Edition

Authors: Cay S Horstmann

Question Posted: