试题详情
单项选择题 1. public class ReturnIt {  2. return Type methodA(byte x, double y) {  3. return (long)x / y * 2;  4. }  5. }  What is the narrowest valid returnType for methodA in line2?()  

A、 int

B、 byte

C、 long

D、 short

E、 float

F、 double

  • F
  • 关注下方微信公众号,在线模考后查看

热门试题