結果 : java code that accept user input