-
Why are generics used?
-
- Generics add stability to your code by making more of your bugs detectable at compile time
- Generics make code more fast
- Generics add stability to your code by making more of your bugs detectable at runtime
- Generics make code more optimised and readable
- None of these
Correct Option: A
Generics add stability to your code by making more of your bugs detectable at compile time.