Vidyalelo
Java Programming · Q273

Interfaces and Abstract Classes

Programming · Java Programming · question 273

Q273

Why are generics used?

A.
Generics make code more fast
B.
Generics make code more optimised and readable
C.
Generics add stability to your code by making more of your bugs detectable at compile time
Answer
D.
Generics add stability to your code by making more of your bugs detectable at runtime

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board