What is system.in

前端 未结 9 1092
隐瞒了意图╮
隐瞒了意图╮ 2021-02-06 05:50

Consider this Scanner input example.

Scanner user_input = new Scanner( System.in );

Here Scanner is the CLASS.

9条回答
  •  -上瘾入骨i
    2021-02-06 06:19

    System.in is the "standard" input stream.

    Take a look at the following documentation: http://docs.oracle.com/javase/7/docs/api/java/lang/System.html

提交回复
热议问题