結果 : how to take user input in char array in java