The role of data types inside of the < > in declarations 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:22 UTC
Read the original article Hit count: 162

Filed under:
|

To give an example, 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