結果 : ternary operator with multiple conditions in java