Created
January 30, 2015 03:28
-
-
Save ron623/bd046f3e5bf812ac32fb to your computer and use it in GitHub Desktop.
createChangeString
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// StringBuilder型変数を引数とし、文字列連結をするメソッド。 | |
// 呼び出し元の文字列も変更される。 | |
public void createChangeString(StringBuilder sbr){ | |
// 文字列連結 | |
sbr = sbr.append(" メソッド内で付加した文字列"); | |
System.out.println(sbr); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment