问题:
现有:
class TestFoo f
int x;
String y;
int getX() { return x; }
String getY() {return y; }
void setX (int x) {
int Z=7:
this.x=x;
}
可以添加多少个修饰符来封装此类?()
A . 5
B . 4
C . 3
D . 2
现有:
class TestFoo f
int x;
String y;
int getX() { return x; }
String getY() {return y; }
void setX (int x) {
int Z=7:
this.x=x;
}
可以添加多少个修饰符来封装此类?()
● 参考解析
本题暂无解析
相关内容
相关标签