Java tutorial
/* * Output: Octal is 13 */ public class MainClass { public static void main(String args[]) { int i = 11; System.out.println("Octal is " + Integer.toOctalString(i)); } }