Hi,
The error message that the
Java compiler gives me is confusing.
I purposely have a numeric (integer) literal that is outside the integer range. I know it will give me an error message as follows:
------------------------------------------------------
But if I purposely give a numeric (long) literal that is also outside of the long range, the message I get is also the integer too large.
Why doesn't Java say long too large?