Last active
May 23, 2016 16:29
-
-
Save kumamotone/369c1b8b2313e6bc88be88ec65afe0d9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| private void method(ArrayList<String> arg){ | |
| arg = new ArrayList<String>(); | |
| arg.add("PHP"); | |
| } | |
| ArrayList<String> list = new ArrayList<String>(); | |
| list.add("Java"); | |
| method(list); | |
| System.out.println(list); // [Java] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment