单项选择题

以下( )表达式是不合法的。

A.string x="hello";int y=9;x+=y;
B.string x="hello";int y=9;if(x={}
C.string x="hello";int y=9;x=x+y;
D.string x=null;inty=(x!=nul&&(length()>0)length():0;