Integer comparison with null problem
675867Jan 6 2009 — edited Jan 21 2009hi all
i ve an Integer object
Integer intObj;
then i want to test if this object is null
if(intObj==null)
{
}
it throws null pointer exception
i solved problem by reversing the test if(intObj!=null)
but i want to understand wat causes the problem ???
and how i treat this