下面程序段的输出结果是public class Test{ public static void main(String args[]){ int x,y; x=4;y=0; if(Math.pow(x, 3)==64) y=x; if(Math.pow(x, 3)<60) y=1/x; if(Math.pow(x, 3)>60) y=
时间:2020-03-07 10:59来源:未知 作者:admin 点击:
次
8. 下面程序段的输出结果是public class Test{ public static void main(String args[]){ int x,y; x=4;y=0; if(Math.pow(x, 3)==64) y=x; if(Math.pow(x, 3)<60) y=1/x; if(Math.pow(x, 3)>60) y=(int)Math.pow(x, 3)+1;
A. 4
B. 64
C. 65
D. 0.25
8. 下面程序段的 输出结果是public class Test{ public static void main(String args[]){ int x,y; x=4;y=0; if(Math.pow(x, 3)==64) y=x; if(Math.pow(x, 3)<60) y=1/x; if(Math.pow(x, 3)>60) y=(int)Math.pow(x, 3)+1;
A. 4
B. 64
C. 65
D. 0.25
(责任编辑:admin) |
要这答案加QQ:800020900 或加微信:apzy123 获取 |
------分隔线----------------------------