Google News
logo
Java Collections - Interview Questions
List out benefits of generic collection
The benefits of using the generic collection are :
 
* If the programmers are using generic class, they don’t require typecasting.
* It is type-safe and can be checked at the time of compilation.
* It provides the stability of the code by detecting bug at the compilation time.
Advertisement