I want to know how I can return a pair of numbers as an array. Java

前端 未结 0 1102
死守一世寂寞
死守一世寂寞 2020-12-07 02:33

how can I create a scanner that reads a pair of numbers from the user and returns it as a array? for example "5,5" would return an array with {5,5}

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