1

Why are generics used?

Correct Answer: Generics add stability to your code by making more of your bugs detectable at compile time

Make the most of this question

This page focuses on one JAVA MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

JAVA MCQs MCQ: Why are generics used? | Extra Education