Java array shallow copy and deep copy. Define an array int [] a = {3,1,4,2,5}; int [] b = a; Array b is just another reference to array a, ie shallow copy.
確定! 回上一頁