Object or primitive type

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-05-21T06:14:07Z Indexed on 2010/05/21 6:20 UTC
Read the original article Hit count: 219

Filed under:
|

Hi,

Can someone explain to me the usage of Integer, Boolean etc in place of their primitive types in JAVA?

I can't seem to grasp the advantages their are providing. They seem to create unnecessary problems of handling null values.

Thanks!

© Stack Overflow or respective owner

Related posts about java

Related posts about autoboxing