Advantages of java generics

Generic means parameterized types. The type upon which a generic method, class or interface operates is specified as a parameter. Generics in java permits in application to create classes and object that can operate on any defined types and it also provide a mechanism for annotating type information of generics. We can implement generics by […]