title: convert hexadecimal number to binary
body: <pre><code>int hex=Integer.parseInt(str.trim(),16);
  String binary=Integer.toBinaryString(hex);
  </code></pre>
  
  <p>i have a array of hexadecimal numbers as strings and i want to convert those numbers to binary string, above is the code i used and in there, i get a error as shown below </p>
  
  <pre><code>Exception in thread "main" java.lang.NumberFormatException: For input string: "e24dd004"
      at java.lang.NumberFormatException.forInputString(Unknown Source)
      at java.lang.Integer.parseInt(Unknown Source)
      at sew1.javascript.main(javascript.java:20)
  </code></pre>