This feature dates back to the early 'C' days. A leading '0' is for octal, a leading '0x' is for hexidecimal. It has been proposed that '0b' be for binary numbers for JDK 7.
You can parse such a number with Integer.decode(String)
which also accepts a leading '#' as a hexi-decimal number.