Java is pass-by-value.(OK, once again... with feeling.)
Java is pass-by-value.
For primitives, you pass a copy of the actual value.
For references to objects, you pass a copy of the reference (the remote control).
http://www.javaranch.com/campfire/StoryPassBy.jsp 에서 참고를 하세요.. ^^
Java is pass-by-value.
For primitives, you pass a copy of the actual value.
For references to objects, you pass a copy of the reference (the remote control).
http://www.javaranch.com/campfire/StoryPassBy.jsp 에서 참고를 하세요.. ^^
'Java' 카테고리의 다른 글
| java sdk utilities manual (0) | 2008/06/09 |
|---|---|
| System.getProperty()의 Key들... (0) | 2008/06/09 |
| Java is pass-by-value (0) | 2008/06/09 |
| Object의 Reference에 대한 내용.. (0) | 2008/05/28 |
| Callable을 사용하여 Runnable로부터 결과 반환 (0) | 2008/05/28 |
Tag // java