Which statement accurately describes the primary purpose of Java Generics?

1
To allow collections to store objects of any type without casting
2
To increase the runtime performance of applications
3
To enforce tighter type checks at compile time
4
To automatically convert objects between different types

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation