Do you know what is the advantage of generic collection?

Submitted by: Muhammad
They enable stronger type checks at compile time.

A Java compiler applies strong type checking to generic code, and issues errors if the code violates type safety. Fixing compile-time errors is easier than fixing runtime errors, which can be difficult to find.
Submitted by: Muhammad

Read Online Java Software Engineer Job Interview Questions And Answers