奥鹏作业答案 - 分忧网!奥鹏作业答案,奥鹏在线作业答案,奥鹏作业答案及毕业论文分忧

奥鹏作业答案,奥鹏在线作业答案,奥鹏在线考核_分忧网

当前位置: 主页 > 奥鹏作业 >

下面程序段的输出结果为_______。class StaticDemo{

时间:2021-02-20 12:09来源:未知 作者:admin 点击:
(单选题)5: 下面程序段的输出结果为_______。class StaticDemo{ static int x; int y; public static int getX(){ return x; } public static int setX(int newX){ x=newX; }
(单选题)5: 下面程序段的输出结果为_______。class StaticDemo{ static int x; int y; public static int getX(){ return x; } public static int setX(int newX){ x=newX; } public int getY(){ retur
A: x=10 静态变量a.x=10 实例变量b.y=40
B: x=0 静态变量a.x=10 实例变量b.y=40
C: x=10 静态变量a.x=30 实例变量b.y=40
D: x=0 静态变量a.x=30 实例变量b.y=40
(责任编辑:admin)要这答案加QQ:800020900 或加微信:vq800020900 获取
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
猜您喜欢

提示信息×