For user input, use the Scanner class with System.in. After getting the input, convert it to character array −char[] a = s.next().
確定! 回上一頁