結果 : how to make java wait for user input