SCJP - Sun Certified Java Programmer Practice Test
SCJP Java Generics, Enums, and Autoboxing
What is the primary benefit of using generics in Java?
Select your answer
A
Improved runtime performance
B
Type safety at compile time, eliminating the need for explicit casting
C
Allowing methods to return multiple types
D
Enabling dynamic typing
Hint