Extract the output !

Output Question


System.out.println(0123)  

what is the output of given code 

class MyTest
{
public static void main(String args[])
{
int i= 0123
int j= 012
System.out.println(i) // it will print 83 but why?
System.out.println(j) // it will print 10
}
}


8 comments: