Timeline for Parameters are passed by value, but editing them will edit the actual object (like passed by reference)? [duplicate]
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S May 16, 2017 at 14:46 | history | suggested | Optimus Prime | CC BY-SA 3.0 | typing mistake |
| May 16, 2017 at 11:22 | review | Suggested edits | |||
| S May 16, 2017 at 14:46 | |||||
| Jun 11, 2015 at 12:32 | history | closed | CommunityBot Bart van Ingen Schenau Kilian Foth Michael Kohne | Duplicate of Which arguments pass by value and which pass by reference in Java? | |
| Jun 7, 2015 at 16:08 | comment | added | user22815 | It does explain it: "Java is always pass-by-value. The difficult thing to understand is that Java passes objects as references and those references are passed by value." then the accepted answer goes on to explain how this works. | |
| Jun 6, 2015 at 9:58 | answer | added | JacquesB | timeline score: 10 | |
| Jun 6, 2015 at 9:32 | vote | accept | deviDave | ||
| Jun 6, 2015 at 9:31 | answer | added | Mike Nakis | timeline score: 71 | |
| Jun 6, 2015 at 9:30 | review | Close votes | |||
| Jun 11, 2015 at 12:32 | |||||
| Jun 6, 2015 at 9:28 | comment | added | deviDave | @scriptin I read this post first, before posting. But it does not explain the logic of the code I posted here. | |
| Jun 6, 2015 at 9:26 | comment | added | scriptin | Possible duplicate: Is Java “pass-by-reference” or “pass-by-value”? | |
| Jun 6, 2015 at 9:05 | history | asked | deviDave | CC BY-SA 3.0 |