Examveda
Examveda

What is the main purpose of generics in Java?

A. To enable type-safe collections and eliminate type casting

B. To increase program execution speed

C. To simplify the syntax of Java code

D. To improve memory management

Answer: Option A


This Question Belongs to Java Program >> Generics In Java

Join The Discussion

Related Questions on Generics in Java