+ 1
Why Generic Programming ?
Who Wants to Be a Generic Programmer?
1 ответ
+ 1
in relation to Java, generics are a way to get stronger compile time type checking, and allowing programs to work on a large set of types with reasonably short coding work.
I have not studied the template system in C++. I'd imagine Java generics more or less does what templates do in C++ if I were to guess.