(String).toUpperCase [1] public String toUpperCase()
文字列を全て大文字に変換します。
String str = input.toUpperCase(); System.out.println("Your type: " + str);