Consider this code:
int x = 17; int y = 013; System.out.println(\"x+y = \" + x + y);
When I run this code I get the output 1711. Can anybod
Numbers prefixed with 0 are octal. 13 Octal is 11 decimal.
The x + y call treats both paramters as strings, so you are combining the string "17" and "11".