結果 : how to pass parameter to method in java