Back to Java

Collections & Generics

Learn to use the Java Collections Framework for dynamic data structures and write type-safe code with generics.

3 weeks

Topics in this Chapter

1

Collections Framework

Get an overview of the core interfaces: List, Set, and Map.

2

Generics

Write type-safe code by creating classes and methods that work with different data types.

3

Comparator & Comparable

Define natural and custom ordering for objects in collections.

GeekDost - Roadmaps & Snippets for Developers