Java generics
Software DevelopmentTech Bites
November 11, 2020

JAVA Generics

Concept of generics Java generics allows the creation of a class or a method that can be reused by different data types or objects. This reduces the need for the same implementation throughout the code. Another advantage is that the error checks are performed during the compile time, removing the…