0

Why Use Generics in java?

Need a brief description about generics..and it's function..

5th May 2019, 5:21 AM
Jaliya Roshen
Jaliya Roshen - avatar
2 Réponses
+ 4
1. Explanation about the concept Generics in SoloLearn (the examples are in C# though) https://www.sololearn.com/learn/CSharp/2694/?ref=app 2. Tutorials about Generics in Tutorialpoints. https://www.tutorialspoint.com/java/java_generics.htm
5th May 2019, 5:46 AM
Gordon
Gordon - avatar
+ 1
if you write a general method but you don't know what type of parameter programmer will use with it.
5th May 2019, 8:28 AM
zemiak