文字列処理
String型の作成

空の文字列を作成する場合は、new String();よりも""を使うほうが若干ですがプログラムサイズを小さくできます。

String str=new String();
String str="";