long keyword in java
- 17th Aug 2017
- 0
- 2799
- long keyword in java with an example significance of long in java when to use long datatype
” long ” is a Java primitive type. A long variable can store a 64−bit signed integer. Example long amount=4560; long randomNumber=45617l; We can specify long number either with suffix “l” or “L” otherwise its considered as integer value. Note: In the first example value 4560 is considered as integer value but its assigning to […]