Created
January 30, 2015 03:26
-
-
Save ron623/ecc08dabb88aec1eee12 to your computer and use it in GitHub Desktop.
String型引数の挙動確認
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型引数の挙動確認 | |
UseMethodByStringParam stringPrm = new UseMethodByStringParam(); | |
String testString = "***渡す文字列***"; | |
// createStringメソッド内でtestString文字列の加工を行う | |
stringPrm.createString(testString); | |
// 引数として渡したtestStringがどうなったか確認 | |
System.out.println(testString); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment