ページの作成:「(String).toUpperCase [https://docs.oracle.com/javase/jp/8/docs/api/java/lang/String.html#toUpperCase--]<br> public String toUpperCase() 文字列を全て大文字…」
(相違点なし)

2019年5月31日 (金) 09:57時点における版

(String).toUpperCase [1]
public String toUpperCase()

文字列を全て大文字に変換します。

String str = input.toUpperCase();
System.out.println("Your type: " + str);