-->
当前位置:首页 > 题库

单选题:For `String s;`, which statement below is correct?

Luz5年前 (2021-05-10)题库1254
For `String s;`, which statement below is correct? @[A](2)
A. s is a variable not initialized, and is to be a pointer to an object of `String`.
B. At this line, s is a variable holding an object of `String`.
C. It will hold an object of `String`, given `s` a member variable,.
D. It will hold an object of `String`, given `s` a local variable.






A.s is a variable not initialized, and is to be a pointer to an object of `String`.
B.At this line, s is a variable holding an object of `String`.
C.It will hold an object of `String`, given `s` a member variable,.
D.It will hold an object of `String`, given `s` a local variable.


答案:A