title: compare two numeric String values
body: <p>I have a simple doubt. Would be great if anyone helps me.</p>
  
  <p>I have two strings: </p>
  
  <pre><code>String string1 = "4"; // and 
  String string2 = "04";
  </code></pre>
  
  <p>Both the values are equal but how to compare them in java? We have <code>equals</code> and <code>equalsIgnoreCase</code> for comparing String alpha values, similarly how to compare numeric values.</p>