編集の要約なし
編集の要約なし
 
1行目: 1行目:
"[[String]]".toUpperCase [https://docs.oracle.com/javase/jp/8/docs/api/java/lang/String.html#toUpperCase--]<br>
"[[String]]".toUpperCase [https://docs.oracle.com/javase/jp/8/docs/api/java/lang/String.html#toUpperCase--]
public String toUpperCase()


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

2019年6月9日 (日) 15:00時点における最新版

"String".toUpperCase [1]

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

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