Skip to content

Instantly share code, notes, and snippets.

@ron623
Created January 30, 2015 03:26
Show Gist options
  • Save ron623/ecc08dabb88aec1eee12 to your computer and use it in GitHub Desktop.
Save ron623/ecc08dabb88aec1eee12 to your computer and use it in GitHub Desktop.
String型引数の挙動確認
// 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