Q10
In Java generics, what is the purpose of the diamond operator (`<>`)?
A.
It specifies a superclass
B.
It simplifies the instantiation of generic classes
AnswerC.
It indicates a generic exception
D.
None of These
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board