> 
> **Possible Duplicate:**  
> 
> [Integer with leading zeroes](https://stackoverflow.com/questions/565634/integer-with-leading-zeroes) 
> 
> 
> 

Hi.

How does Java deal with bytes, ints, shorts and longs prefixed by zeroes, e.g.

```
// Prints 8.
System.out.println(010);

// Prints 64.
System.out.println(0100);

```

So, *8^(n-1)*, I guess. But why?

Explanations are appreciated!

**EDIT:**
So that's how it works. However, nobody knows why, it seems, and the other topic is dead.. Gn people. :)