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

单选题:About object variables, like s as “String s”, which statement be

Luz5年前 (2021-05-10)题库953
About object variables, like s as “String s”, which statement below is correct? @[B](2)

A. Object variable is exactly the pointer in C++.
B. Object variable looks like the pointer in C++, but not calculable.
C. Object variable holds an object in its own memory space.
D. Each object can be referenced by one object variable only.




A.Object variable is exactly the pointer in C++.
B.Object variable looks like the pointer in C++, but not calculable.
C.Object variable holds an object in its own memory space.
D.Each object can be referenced by one object variable only.


答案:B