If you don't want arr itself to be null but instead want an empty array of the same length, you can just write arr = new int[arr.length]. (Substitute int with ...
確定! 回上一頁