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
d) Generics add stability to your code by making more of your bugs detectable at runtime
1 thought on “Why are generics used?”
Leave a Comment
You must be logged in to post a comment.
c
Explanation: Generics add stability to your code by making more of your bugs detectable at compile time.