Checking Integer Wrapper against NULL as well as primitive value 0

Viewed 13534

I have refer to this before posting this Question.
Checking Null Wrappers against primitive values

And I have situation that I want to check Wrapper Integer with null as well 0

if( statusId != null || statusId != 0 ) //statusId is Integer it maybe 0 or null
    // Do Somethimg here

How can I overcome this situation ?

6 Answers
Related