ページの作成:「(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--]<br>
"[[String]]".toUpperCase [https://docs.oracle.com/javase/jp/8/docs/api/java/lang/String.html#toUpperCase--]
public String toUpperCase()


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


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

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

"String".toUpperCase [1]

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

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