Multiple choice technology programming languages

JAVA 1.4 introduced the concept of Generics?

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Generics were introduced in Java 5 (J2SE 5.0, released in 2004), not in Java 1.4. Java 1.4 was released in 2002 and did not include generic type support. The introduction of generics allowed developers to write type-safe collections and eliminate the need for explicit casting when retrieving objects from collections.