Why Generics was introduced in Java?

Why Generics was introduced in Java?

Hi,

Why Generics was introduced in Java and what is was its motive?

Thanks

View Answers

August 12, 2014 at 4:13 PM

Generics were introduced in Java for the development of more bug free code. It enables the code for compile time type checking.

Read the tutorial for more details of Generics: Introduction to Generics in Java.

Thanks









Related Tutorials/Questions & Answers:
Why Generics was introduced in Java?
When were generics first introduced in Java?
Advertisements
difference between java5 and java6 - Java Beginners
Introduction to Generics in Java
Java2
about java1
Javah
About Java2
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
Generics
javaa swings - IDE Questions
Javap Tool application
Artifacts of javax
Javah -  Header File Generator
ModuleNotFoundError: No module named 'javax'
ModuleNotFoundError: No module named 'javax'
Javac -source KeyTest.java
eraser type generics in java
javax - JSP-Servlet
ModuleNotFoundError: No module named 'javac-parser'
ModuleNotFoundError: No module named 'javac-parser'
Version of javax>javaee-api dependency
javax servlet error - JSP-Servlet

Ads