java.util.Scanner next() String 형 반환 nextInt() int 형 반환 nextDouble() double 형 반환 nextLine() 입력받은 한 줄을 String형으로 반환 (엔터 입력 전) A simple text scanner which can parse primitive types and strings using regular expressions. A Scanner breaks its input into tokens using a delimiter pattern, which by default matches whitespace. The resulting tokens may then be converted into values of different types usi..