Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Java Long Max Value

We usually use Integers when we want to calculate whole numbers. But Integers in Java can only hold 32 bit values which could be insufficient for some tasks. When we need bigger range of values, we could use long values. In Java, Long values is represented in 64 bits. However, even if this can hold bigger range of values, there is still a limit to it's maximum value. The Java Long Max Value is 9,223,372,036,854,775,807. Below are some more details to explain this.



This post first appeared on JavaDevNotes, please read the originial post: here

Share the post

Java Long Max Value

×

Subscribe to Javadevnotes

Get updates delivered right to your inbox!

Thank you for your subscription

×