What is the advantage of generic collection?

Last updated:9/24/2020 3:49:33 AM

1 Answers

Mayank Tripathi
Mayank Tripathi

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

Answer