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

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

String s1 = "Java and Python.";
System.out.println(s1.toUpperCase());