import javax.swing.*;
public class TestInt
{
public static void main (String[] args)
{
long tooBig;
tooBig = 2147483648;
}
}
Jgrasp reports: TestInt.java:9: error: integer number too large: 2147483648
tooBig = 2147483648
Why is this?
Thanks in advance