int[] original = { 10, 20, 30 }; int[] copy = original.clone();. It works for object arrays as well, but note that it makes a shallow copy; the objects are not ...
確定! 回上一頁