hello i need to represent a long value
long f= 13020743289;
the litteral of type int is out of range
You must use a long literal, with an L at the end.
long f = 13020743289L;
A long declared without an L at the end is treated as an integer literal. Since yours it out of the range of integer, you must explicitly append an L to tell Java it's a long, declared as a long literal.