In this chapter, we will delve into the collections framework, which consists of interfaces and classes. We will have a look at the three major collections: List
, Set
, and Map
. ArrayList
from the List
collection, HashSet
from the Set
collection, and HashMap
and HashTable
from the Map
collection will be discussed in this chapter. We will go through each concept by looking at examples.
We will cover the following topics in this chapter:
- The collections framework
- The list collection
- The set collection
- The map collection