Scanner 메소드 선언 import java.util.Scanner; Scanner 객체 생성 /* 클래스_이름 객체_이름 = new 클래스_이름(); */ Scanner sc = new Scanner(System.in); // Scanner 객체 생성 메소드 이용하여 입력받기 byte a = sc.nextByte(); // byte 형 입력 및 리턴 short b = sc.nextShort(); // short 형 입력 및 리턴 char c = sc.next().charAt(0);// char 형 입력 및 리턴 int d = sc.nextInt(); // int 형 입력 및 리턴 long e = sc.nextLong(); // long 형 입력 및 리턴 float f = sc.nextFloat();..