adding a 0 before a two digit number in an array full of three digit numbers subtracts 2? Java

后端 未结 0 939
青春惊慌失措
青春惊慌失措 2020-12-17 23:44

I created an array that has 120, 200, and 016 and when i print the array, the 016 appears as 14. Why is this?

public static void main(String[] args) {
Scanner         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题