I ran into the strangest problem ever in Java.
When I do this:
int []s = new int [5];
s[0] = 026;
s[1] = 0011;
s[2] = 1001;
s[3] = 0026;
s[4] = 1101;
The numbers stored in the array, which are visible from the debug mode, are different, that is, the stored numbers are 22.9, 1001, 22, 1101. Can you give me some tips on what could be wrong with this?
source
share