posted 17 years ago
Hi ,
int i= 2147483647 + 1;
If i use the above , it throws a compiler error saying that it is out of range since int cannot hold it . You already trying to stuff something into an int that is not appropriate for int. Rather use long . I hope this answers you .
Thanks