유튜브 설명칸

Lesson Script

Introduction

System.in.read()

scanner.

java.lang.System and java.util.Scanner

For output, you did not have to import anything, but for input, you have to input a standard Java library. java.util.Scanner. This is java code that works with your computer system to basically scan something. In our case, we want to scan the System.in. This is the standard input of the system. When your Java program runs, it is connected to a standard input and standard output.