結果 : how to take string input in java without scanner