Reading only 1 char then using method from String in java

前端 未结 0 654
时光说笑
时光说笑 2020-12-02 04:44

In my task I need to read this input 1,2,3. I read it from file.

 String listOfNumbers=  reader.readLine();
 listOfNumbers= listOfNumbers.replace(","         


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