New course! Every coder should learn Generative AI!
Try a free lesson0
What is the output of System.out.println(010) in java and why?
Please give a proper and understandable answer. https://code.sololearn.com/cbc4kMMzqdEm/?ref=app
1 Answer
0
leading zero -> octal number
https://stackoverflow.com/questions/17469871/why-010-equals-8