Home > DeveloperSection > Interviews > What is the advantage of generic collection?

Posted on    May-13-2015 11:28 PM

 Java Java  Collection  Generics 
Ratings:
 1 Answer(s)
  509  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    May-13-2015 11:28 PM

If we use generic class, we don't need typecasting. It is typesafe and checked at compile time.

Don't want to miss updates? Please click the below button!

Follow MindStick