先定义字符串String String str = "aeiou"; 定义字符 x 并取出其中第 i 个字符 char x = str.charAt( i ); 若 i = 3 ,输出 x 的值为 "o"