Skip to content

EasyConceptCollections and Streams

What is the difference between List, Set and Map?

What a good answer covers

A List is an ordered collection allowing duplicates. A Set holds unique elements. A Map stores key to value pairs with unique keys. Map is not part of the Collection interface.

More on Collections and Streams

Flashcards for this topic