Integer: toOctalString(int intValue) : Integer « java.lang « Java by API
- Java by API
- java.lang
- Integer
Integer: toOctalString(int intValue)
/*
* Output:
Octal is 13
*/
public class MainClass {
public static void main(String args[]) {
int i = 11;
System.out.println("Octal is " +
Integer.toOctalString(i));
}
}
Related examples in the same category