下列定义String变量s的语句中,错误的是()

下列定义String变量s的语句中,错误的是()

A.Strings=new“Yes!”;

B.Strings=newString(“yes!”);

C.Strings;

D.Strings=”Yes!”;

正确答案:A

猜你喜欢