title: How to handle “int i != ""” or “int i != null” statements in Java?
body: <p>As we know int is a primitive data type and cannot be null.
   In my program i want to do a condition check like int i != "" but it says operator != cannot be applied to int,null.</p>
  
  <p>Any solution?</p>
  
  <p>EDIT:</p>
  
  <p>I already know that it cannot hold these two things i was trying to present my requiremnet for checking the parameter i am getting from another server if it has recived some value or if its empty. </p>