问题 单项选择题

下列定义变量错误的是( )。

A.char s="23";

B.short i=100;

C.double d;

D.String str=-"wh are me!";

答案

参考答案:A

选择题
单项选择题