In Java, I noticed that when I write
int i = 99;
It works great. However when i say
int i = 099;
I get an exception:
java.lang.RuntimeException: Uncompilable source code - Erroneous tree type: <any>
In my IDE, I see a red dot saying integer number too large: 099 .
Why is this not compiling? Isn't 099 equivalent to 99?
source share