Value delivery and reference delivery

  java, question

Why should this value pass and reference pass be introduced in java learning? That is to say, the function of this value transfer and reference transfer is What?

The value transfer should be to copy a copy. The reference transfer is to point the variable directly to the address in memory. If the value in this address changes, all the variable values pointing to it will change. For example, the value of variable A is 123456, and the address in memory is 0xxxx. If a reference is passed to B, then B also points to 0xxxx. Even if the value of B is modified, that is, the value of A will change. However, if they are assigned directly, their addresses in memory will be different and irrelevant.