Java for Testers #40 – Collections in Java | Wrapper Classes in Java

In this Java for Testers tutorial, we will learn about collections in java and wrapper classes in Java. Collections framework in java is a unified architecture for storing and manipulating a collection of objects. Java collections framework provides many interfaces (Set, List, Queue), and classes like (ArrayList, HashSet, LinkedList).

Collections reduce the programming effort as they provide data structure and algorithms.

We will also learn about wrapper classes in Java as collections use wrapper classes. Wrapper classes are the classes in Java that provide a mechanism to convert primitive data types into an object and object to the primitive data type.