How to read from standard input line by line?

后端 未结 6 589
走了就别回头了
走了就别回头了 2020-12-22 17:19

What\'s the Scala recipe for reading line by line from the standard input ? Something like the equivalent java code :

import java.util.Scanner; 

public cla         


        
6条回答
提交回复
热议问题