Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Java Java-biginteger Java Biginteger

Related Tutorials


 
 

Share on Google+Share on Google+

Java Biginteger

Advertisement
As we can convert the BigInteger to the long data type and long variable to the BigInteger similarly we can convert the BigInteger to String and String to the BigInteger vice-versa.

Java Biginteger

     

  1. Java biginteger to String
    As we can convert the BigInteger to the long data type and long variable to the BigInteger similarly we can convert the BigInteger to String and String to the BigInteger vice-versa.
     
  2. We can use the max() method of the BigInteger class to get the maximum value of the two BigInteger values. It returns the BigInteger value whose value is  greater of this and the passed variable.
     
  3. Java BigInteger long
    We can  convert the BigInteger value to the long data type and also can covert the long value to the BigInteger with the use of java.math.BigInteger class and its methods.
      
  4. Java BigInteger example
    BigInteger class provides us operations for modular arithmetic (such as add, subtract) , prime generation , bit manipulation and many other useful operations.
Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: December 18, 2008

Related Tutorials

Discuss: Java Biginteger  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com