1161Software EngineeringMedium
What is the output for the below code? public class Test{public static void main(String[] args){int i = 010; int j = 07;System.out.println(i); System.out.println(j); } }?
ANone
B7 8
C8 7
D9 8
Correct answer
C. 8 7
Explanation
The correct answer is 8 7.