单项选择题

设int型变量a,b,float型变量x、y,char型变量ch均已定义并赋值,正确语句是()

A.switch(x+y){......}
B.switch(ch+1){......}
C.switch ch{......}
D.switch(a+b);{......}