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); } } ?

A. 7 8
B. 8 7Correct Answer
C. 9 8
D. None
Correct Option: B. 8 7

This question has been verified by the PakPrep community moderation network for competitive examination accuracy.

HomeCategoriesQuizSaved (0)Profile