Mar 10, 2015The Real Value of an int Variable Starting with 0 in JavaIn Java, an int literal starting with 0 is interpreted as an octal (base-8) number. This article explains how Java represents octal integers.