Introduction of Generics Generics means parameterized types. The idea is to allow user defined class types (Integer, String, any class etc. for example) to be a parameter to methods, classes, and interfaces. Using Generics, it is possible to create classes that work with different data types. …