문자열 길이 구하기
public class Main46 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String ch = scanner.nextLine(); System.out.println(ch.length()); } }