How can we pass argument to a function by reference instead of pass by value?

By ayush goel in 22 Sep 2023 | 11:25 am
ayush goel

ayush goel

Student
Posts: 346
Member since: 21 Sep 2023

How can we pass argument to a function by reference instead of pass by value?

22 Sep 2023 | 11:25 am
0 Likes
divas goyal

divas goyal

Student
Posts: 453
Member since: 22 Sep 2023

 - In Java, you cannot pass arguments to functions by reference. All method parameters are passed by value, which means a copy of the argument's value is passed.


23 Sep 2023 | 04:34 pm
0 Likes

Report

Please describe about the report short and clearly.