单选题:About object variables, like s as “String s”, which statement be
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
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