title: Setting null value to integer
body: <p>How can i set null  to integer variable initially instead of "0". I know already by default all int value is "0". I used <code>String.valueOf()</code> method etc. I dont want to print as "null". I want to print blank like " ". I get number format exception. Please give one solution for that.</p>
  
  <p>Thanks in advance</p>
  
  <p>Here is the code</p>
  
  <pre><code>public class IntegerDemo {
  
      /**
       * @param args
       */
      public static void main(String[] args) {
          // TODO Auto-generated method stub
          String id="";
  
  
          System.out.println(""+Integer.parseInt(id));
  
      }
  }
  </code></pre>