0
Int[] a = {1,2,3,4}; int[] b = {2,3,4}; a=b; Now the array a is pointing to array b, how to access the original array a?
3 odpowiedzi
+ 2
it's lost.
Make a temporary array and before a=b, assign it to the temporary array.
Did i got what you meant??
+ 2
Harshanand Raykar Store the array a in any other variable for future reference
0
too late, it is already in the hands of the garbage collector 🤣