i need to enter a variable in a parameter, however by default, it uses the value of the variable, and not the variable itself. In visualbasic, this is resolved by putting byref variablename. What is the equivilent of that in java?
Printable View
i need to enter a variable in a parameter, however by default, it uses the value of the variable, and not the variable itself. In visualbasic, this is resolved by putting byref variablename. What is the equivilent of that in java?
There is none. If you really want to do it, create a wrapper object.