Java Generics Series

Java Generics were introduced in Java 5. Generics means it allows Java developers to write code in which the code is written in terms of type which can be specified later and those types can be used as parameters.

In this series I talk about features of Generics and how they help us write compile time type safe code. I also talk how code was written prior to generics and what problems developers faced.

  1. Java Generics Introduction
  2. Generics Cast Guarantee