Learn Java Programming - BigInteger Constructors

Published: 09 April 2017
on channel: Daniel Ross
1,950
23

The BigInteger class is one of my absolute favorite classes in Java. I have been fascinated with large prime numbers and cryptography for decades and the BigInteger class allows us to not only create really large numbers, but also to perform many standard arithmetic operations on those numbers. The largest of the Java primitive data types is the long type. We can create a long type variable within the range of -9223372036854775808 to 9223372036854775807 and while that may seem like a huge number, that is only a total of 19 digits. The largest prime found at the date and time of this tutorial is over 22 million digits long! So needless to say, the primitive data types are not going to cut it and BigInteger is going to become our new best friend.


On this page of the site you can watch the video online Learn Java Programming - BigInteger Constructors with a duration of hours minute second in good quality, which was uploaded by the user Daniel Ross 09 April 2017, share the link with friends and acquaintances, this video has already been watched 1,950 times on youtube and it was liked by 23 viewers. Enjoy your viewing!