Just a note would it not be easier using this sort of stuff.


int x = 10;

System.out.println(x);

x = 0x000f;