What is system.in

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

Consider this Scanner input example.

Scanner user_input = new Scanner( System.in );

Here Scanner is the CLASS.

9条回答
  •  深忆病人
    2021-02-06 06:37

    System.in in java means to take input from the keyboard or user. System.out in java means to print the output to console.

提交回复
热议问题