Javarevisited
Published in

Javarevisited

Java Generics: Why Are They Used?

Answer your next interview question.

JDK 5.0 introduces several new extensions to the Java programming language. One of these is the introduction of Generics. Through the medium of this article, I’m going to discuss what generics are, how to use them in Java, and their advantages. Having sound knowledge of generics will help you clear your next java interview.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store