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.
|