I am unable to understand the output of the below code
package beg;
import java.util.*;
import java.io.*;
public class Hell
{
public static void main(String[] args)
{
System.out.println(10+010); //Prints 18
System.out.println(010+010); //Prints 16
System.out.println(010+10); //Prints 18
}
}
Can somebody please explain?