Multiple choice technology programming languages

What are the new features added to Java 1.5?

  1. Boxing and UnBoxing

  2. Generics

  3. Enhanced for

  4. Iterator

Reveal answer Fill a bubble to check yourself
A,B,C Correct answer
Explanation

Java 1.5 (Tiger) introduced autoboxing/unboxing for automatic primitive-wrapper conversion, generics for type-safe collections, and the enhanced for-loop for cleaner iteration. The Iterator interface existed since Java 1.2, so it was not a new feature in Java 1.5. The claimed answer correctly identifies A, B, and C.