Understanding the Collections Framework

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

Get Hands-On Automation Testing with Java for Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.