Generics

Generics#

This section will provide a thorough lesson on generics.

This chapter will incrementally introduce you to generics by:

  1. Showing you how to use ArrayList instead of arrays

  2. Provide an overview of the classes in the Java Collection Framework (Stack, Queue, Map)

  3. Showing you how to create a generic method and class yourself

  4. Explaining Constraint Typing

  5. Reviewing Type Erasure and limitations of generics