It never occurred to me that the problem resonated with so many friends,
There's a guy upstairs about "Java delivery is a reference copy, not a reference itself, not an object." "That's a very good saying. Unfortunately, none of the books found today have been explained.
Of course, this pass is an object, not a simple data type, a simple data type, or a copy of a value.
There's another guy upstairs. The compiler principle, which is where the problem is, passing the address, passing the reference, passing the result (that is, the value copy), and here is the difference between the passing reference and the delivery address.
The understanding of the Liang_chen upstairs is very good, I until the first part of the real discovery (around my side is almost not clear this problem), more than three years of Java Analysis design and development experience, to today to understand the basis of such a problem, I really embarrassed. :(
Therefore, other still in the debate is not clear friends, we must seriously learn Java, can not casually say that their proficient, haha, we explore more, continue to improve together. |