String [] arr = new String[5];. // 為每個數組元素賦值`A`. Arrays.fill(arr, "A");. // 將值`B` 從索引1(包括)賦值給索引3(不包括). Arrays.fill(arr, 1, 3, ...
確定! 回上一頁