Java Print Hex Format
System.out.println(String.format("0x%08X", 1));
Arrogant Ant
System.out.println(String.format("0x%08X", 1));