ページの作成:「(String).toUpperCase [https://docs.oracle.com/javase/jp/8/docs/api/java/lang/String.html#toUpperCase--]<br> public String toUpperCase() 文字列を全て大文字…」 |
編集の要約なし |
||
(同じ利用者による、間の1版が非表示) | |||
1行目: | 1行目: | ||
"[[String]]".toUpperCase [https://docs.oracle.com/javase/jp/8/docs/api/java/lang/String.html#toUpperCase--] | |||
文字列を全て大文字に変換します。 | 文字列を全て大文字に変換します。 | ||
String | String s1 = "Java and Python."; | ||
System.out.println( | System.out.println(s1.toUpperCase()); |