Home > Back-end >  Have used predominantly value transfer language, communication
Have used predominantly value transfer language, communication

Time:01-27

Java is a reference is given priority to, I work in the development of language is value transfer is given priority to, structure and table types of arrays are passed values,
I feel or value transfer is more convenient, reference error prone, especially in complex applications, it is difficult to sort out what is the point to the same reference data,
Value transfer, can build variable in a program (mainly structured data, such as object), need not consider common with other variables, although the memory consumption, but as long as it is not a table structure data, for the performance of the computer now basically not much difference, only to consider when dealing with table structure data memory problems

CodePudding user response:

In fact you Java can also ah, always new, don't quote,