Advantages and Disadvantages of Generics in Java
Generics in Java program was introduced in Java version 5. It is used to ensure the data type safety of objects. So, it constructs the code steady by detecting bugs at compile time. Why do we need generics in Java? When we write programs, errors occur. Some errors occur at run time while some errors …
Advantages and Disadvantages of Generics in Java Read More »