3244444444
is interpreted as a literal integer but can't fit in a 32-bit int
variable. It needs to be a literal long value, so it needs an l
or L
at the end:
long l2 = 3244444444l; // or 3244444444L
More info:
- Primitive Data Types, specifically Default Values and Literals sections.