Q. What is the output for the below code ?
Code:
public class Test
{
public static void main(String[] args)
{
int i = 010;
int j = 07;
System.out.println(i);
System.out.println(j);
}
}
β
Correct Answer: (A)
8 7