Q1
What is the main purpose of generics in Java?
A.
To enable type-safe collections and eliminate type casting
AnswerB.
To increase program execution speed
C.
To simplify the syntax of Java code
D.
To improve memory management
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board