char [] arr=str.toCharArray(); for (int i=0; i System.out.println(arr[i]); 輸出: a b c. Java 的陣列長度宣告後就無法改變, 所以字串的內容當然就 ...
確定! 回上一頁