我想从键盘接受输入的数据存放到list,set或者数组中是不是只能通过system.in.read()的方法呢?