title: Adding two large binary numbers
body: <p>I am trying to add two larger binary numbers (i.e. number of bits are greater than 31) but stuck due to getting <code>NumberFormatException</code>. Below is the line which is throwing exception-</p>
  
  <pre><code>Integer.parseInt(binaryNo, 2);
  </code></pre>
  
  <p>My idea was to convert both binary numbers into <code>integer</code> first, then adding together after that convert <code>integer</code> to binary back using <code>Integer.toBinaryString(integerSum)</code>. But it's not applicable for binary number having bits larger than 31 as integer overflow occurs. Please tell me any way which can perform large binary number addition in optimized way (minimum time). Thank you.</p>