結果 : how to get input in java without scanner