please explain this code
public class B {
public int add()
{
return 011;
}
public static void main(String[] args)
{
B b1=new B();
System.out.println(b1.add());
}
}
the output is 9, how it will comes....
public int add()
{
return 011;
}
public static void main(String[] args)
{
B b1=new B();
System.out.println(b1.add());
}
}
the output is 9, how it will comes....
0