6
//take the input from user
text = br.readLine();
//convert to char array
char ary[] = text.toCharArray();
System.out.println("initial string is:" + text.toCharArray());
System.out.println(text.toCharArray());
initial string is:[[email protected] abcd
+1。這是正確的答案。 –
感謝您的所有明確解釋 – dev