Created
January 29, 2015 09:12
-
-
Save ron623/483e251e722e563605b5 to your computer and use it in GitHub Desktop.
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
// String型文字列を引数とし、文字列連結をするメソッド。 | |
// 呼び出し元の文字列は変わらない。 | |
public void createString(String testString){ | |
// 文字列連結 | |
testString = testString + " メソッド内で付加した文字列"; | |
System.out.println(testString); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment