結果 : how to get user input in java without scanner