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