Examveda

What is the primary advantage of using generics in Java?

A. Reduced memory usage

B. Faster execution of code

C. Enhanced type safety and readability of code

D. Compatibility with older Java versions

Answer: Option C


This Question Belongs to Java Program >> Generics In Java

Join The Discussion

Related Questions on Generics in Java