Check out example codes for "java long literal". It will help you in understanding the concepts better.

Code Example 1

to declare a Long literal in java, add 'L' to the end of
an integer literal

examples:
12312345514316L
59741316635446100055330L
465414966143L

Learn ReactJs, React Native from akashmittal.com