string1 대소문자 변경하기 (toUpperCase(), toLowerCase()) Scanner sc = new Scanner(System.in); String str = sc.nextLine(); System.out.println(str.toUpperCase()); Java 에서는 해당하는 기능을 string 클래스의 메소드로 제공하고 있다. 2021. 8. 19. 이전 1 다음 반응형