java.lang.NumberFormatException: For input string

前端 未结 7 628
栀梦
栀梦 2020-11-28 16:15

the eclipse tells that lang and i cant find a solution

Exception in thread \"main\" java.lang.NumberFormatException: For input string: \"2463025552\"

7条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-28 16:34

    Change your data type to long or bigint. Your string is too long then int thats why it have exception..

提交回复
热议问题