What is the output for the below code ? 1. public class Test { 2. public static void main(String[] args){ 3. int i = 010; 4. int j = 07; 5. System.out.println(i); 6. System.out.println(j); 7. } 8. }
8 7
10 7
Compilation fails with an error at line 3
Compilation fails with an error at line 5