MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

/*
 * Output:
     
Octal is 13
    
 */

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