What's the role of the data types inside of < > in Java?

Posted by Emanuil on Stack Overflow See other posts from Stack Overflow or by Emanuil
Published on 2010-06-10T18:20:34Z Indexed on 2010/06/10 18:52 UTC
Read the original article Hit count: 144

Filed under:
|

To be more specific, whats the role of the <String> in the following line of code?

private List<String> item = new ArrayList<String>();

© Stack Overflow or respective owner

Related posts about java

Related posts about syntax