J.III · Java 25 practice question

In the parameterized type notation C<T1,...,Tn>, what does the bracketed list <T1,...,Tn> represent according to JLS SE 25?

Choose one answer
Check answer and explanation

Correct answer: Type arguments denoting a particular parameterization of the generic class or interface

Explanation

The list in angle brackets supplies type arguments that denote a specific parameterization of the generic class or interface.

Common trap

Treating the list as superinterfaces confuses type arguments with an implements clause. Calling it runtime reflection metadata mischaracterizes compile-time parameterization syntax. Calling it runtime reflection metadata mischaracterizes compile-time parameterization syntax.

Source: JLS SE 25 §4.5. Parameterized Types
Checked against the cited text on 2026-11-25.

Report an error in this question