What is a parameterized reference in Java?

Posted by Emanuil on Stack Overflow See other posts from Stack Overflow or by Emanuil
Published on 2010-06-16T07:42:56Z Indexed on 2010/06/16 7:52 UTC
Read the original article Hit count: 257

Filed under:
|

Why the following line of code:

private static List list = new ArrayList<String>();

... generates the following warning:

List is a raw type. References to generic type List should be parameterized.

© Stack Overflow or respective owner

Related posts about java

Related posts about beginner