BigInteger class provides us operations for modular arithmetic (such as add, subtract) , prime generation , bit manipulation and many other useful operations.
Here in this example of BigInteger we have created two big integer variables and we are going to multiply them and will store that result in another BigInteger variable. Here is the full example code of BigIntegerExample.java as follows:
Output of the above program is as follows:
Result is ==> 13868394935526
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: November 4, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles