passing passing variable in Java as reference
I know there isn't a "direct way" of passing variable by reference in Java but i was wonder if there is a hacked way or so way to pass variable as reference?
thanks, djgerbavore, the only way i can think of is put a variable in an array or make an object, and make a reference to the array or something like that. |
|
haha thanks,
|
No problem. I wish java had a lot of nice things c does, but oh well.
|
All times are GMT -5. The time now is 06:25 AM. |