Scanner in = new Scanner(System.in);

 

String ch = in.nextLine().length();


2번째 줄 String을 int로 바꿔야하는이유가뭔가요??