charAt (i) vs string[i] ... using the charAt[index] method; and using bracket notation such as 'hello'[1] ... charAt(1) returns the second character e .
確定! 回上一頁