Comparing Java's pass-by-value with C++'s pass-by-value or -reference
<p>Java uses pass-by-value, both with Objects and primitive types. Because Java passes the value of the reference, we can change the value of target but cannot change the address.</p>

<p>How does this compare with C++?</p>
