0
is java a pass by reference or pass by value
?
3 Answers
+ 3
nope for reference data type it's pass by reference but for primitive data type it's pass by value
+ 1
Java is strictly pass-by-value, exactly as in C.
0
it actually depends on which datatype??hahđ