Using the charAt method is easier than substring , though, when we want to retrieve just a single character. String str = readLine("Type a string to reverse: ");
確定! 回上一頁