Are you a Java expert?
can you guess the output of the given statement?
I'm not testing your knowledge so don't hesitate to comment,
What is the output of
System.out.println(0123);
If you are able to give the correct answer, I'm very sure that you had faced this question before.
If not then surely you'll learn some really cool concept of Java ππ€.
Top comments (2)
Output is
83
. The number is in octal.Conversion: 123 = (1 Γ 8Β²) + (2 Γ 8ΒΉ) + (3 Γ 8β°) = 83
excellent