how to fix java.lang.NumberFormatException? Why does the first line print? This works for the first line but gives an error later

后端 未结 0 610
深忆病人
深忆病人 2021-02-08 13:41
            for(int j = 1; j < text.length; j++){  
                number += Integer.parseInt(text[j]);  
                sum++; }  

The parseInt pa

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