storing primitive values in a java collection?

Posted by JavaUser on Stack Overflow See other posts from Stack Overflow or by JavaUser
Published on 2010-03-24T02:26:42Z Indexed on 2010/03/24 2:33 UTC
Read the original article Hit count: 365

Filed under:
|

Hi,

Java collections only stores objects not primitive types but we can store using wrapper classes.Why this constrain?

Thx

© Stack Overflow or respective owner

Related posts about java

Related posts about collections