0
call by reference vs call by value
Java is call by value -- but how?
2 ответов
0
Java uses call by value for primitive data type and call by reference for reference data type
0
'By value' simply means the value is copied and passed to the function. 'By reference' means the memory location of the original value is passed and updated directly.