Read double from keyboard in Java

后端 未结 4 537
粉色の甜心
粉色の甜心 2021-01-26 08:50

How can I read a double variable from keyboard in Java? I\'m trying to solve this, but it didn\'t works. It said:

Exception in thread \"main\" java.util.I

4条回答
  •  伪装坚强ぢ
    2021-01-26 09:11

    the code you have written is totally correct ,you should check your input order string double int

提交回复
热议问题