結果 : how to get input in java code