题目内容
10.publicclassClassA{
11.publicvoidmethodA(){
12.ClassBclassB=newClassB();
13.classB.getValue();
14.}
15.}
And:
20.classClassB{
21.publicClassCclassC;
22.
23.publicStringgetValue(){
24.returnclassC.getValue();
25.}
26.}
And:
30.classClassC{
31.publicStringvalue;
32.
33.publicStringgetValue(){
34.value=ClassB”;
35.returnvalue;
36.}
37.}
Given:
ClassAa=newClassA();
a.methodA();
Whatistheresult?()
查看答案
搜索结果不匹配?点我反馈
更多问题