Are you Java expert?
What is the output of
System.out.println(0123);
If you know the answer it's good,
If not then surely you'll learn some really cool concept of Java 😄🤗.
Don't click on the link,😎
First comment your answer.
https://www.javaoneworld.com/2019/10/System-out-println-0123.html
Top comments (6)
It's cool right.
octal !
Yes yes , you get it, concept wise you are absolutely right
Hi, why it shows 83 ? if zero is removed it works fine.
That's why I put the questions here.
All the magic you are seeing in this statement is just because of 0.
Follow the link to know why?
javaoneworld.com/2020/05/why-outpu...
Yes yes... If anyone facing this first time, surely he'll surprise.