How to add two numbers of any length in java?
Say for example, in java long size is 64 bit. So the maximum range is -9223372036854775808 to 9223372036854775807. Am i
Check out the BigInteger class. It will be able to perform the operations you are looking for on really large numbers.
BigInteger
http://download.oracle.com/javase/1.4.2/docs/api/java/math/BigInteger.html