Q 61
Easy
What is the size and range of long in Java?
Answer
long is a 64-bit signed integer with a range from -2^63 to 2^63 - 1.
Explanation
Use long when integer values may exceed the range of int, such as large identifiers, counters, or timestamps.
Reference:
Java Language Specification