首页 > 计算机类 > 等级考试 > 计算机二级 > Java语言程序设计 > 有以下方法的定义,请选择该方法的返回类型()。
ReturnType method(byte x, double y)
{
return (short) x/y*2;
}

有以下方法的定义,请选择该方法的返回类型()。
ReturnType method(byte x, double y)
{
return (short) x/y*2;
}

A.byte
B.short
C.int
D.double
查看答案
正确答案: D
答案分析:
包含此试题的试卷:
相关的试题
A.byte
B.short
C.int
D.double
A.byte
B.short
C.int
D.double
A.byte
B.short
C.int
D.double
A.byte
B.short
C.int
D.double
A.byte
B.short
C.int
D.double
A.byte
B.short
C.int
D.double
A.byte
B.short
C.int
D.double
A.byte
B.short
C.int
D.double
A.byte
B.short
C.int
D.double
A.byte
B.short
C.int
D.double
网站内容收集于网络,如有侵犯您的权益,请联系:gl@lm158.com,感谢您的支持
神奇助手题库网