2021-04-02 【Java】文字列を結合(concat) Java 文字列を結合する方法です。 文字列を結合 //文字列データ String str = "AAA"; //BBBの文字列を結合 str.concat("BBB"); 実行結果