有如下类声明: class Foo{ int bar; }; 则Foo类的成员bar是
Which statements concerning the relationships between the following classes are true?()
class Foo { int num;
Baz comp = new Baz();
}
class Bar { boolean flag;
}
class Baz extends Foo {
Bar thing = new Bar();
double limit;
}
String foo = “blue”;
Boolean[]bar = new Boolean [1];
if (bar[0]) {
foo = “green”;
}
What is the result? ()
免费的网站请分享给朋友吧