单项选择题

已知有if-else语句如下,则与该if-else语句等价的条件表达式是() a = 3; else a = 5;

A.a = x > y 3 : 5;
B.a = x > y 5 : 3;
C.a = x : y 3 > 5;
D.a = x > y;