单选题1. public class returnIt (  2. returnType methodA(byte x, double y) (  3. return (short) x/y * 2;  4. )  5. )   What is the valid returnType for methodA in line 2?()AIntBByteCLongDShortEFloatFDouble

题目
单选题
1. public class returnIt (  2. returnType methodA(byte x, double y) (  3. return (short) x/y * 2;  4. )  5. )   What is the valid returnType for methodA in line 2?()
A

 Int

B

 Byte

C

 Long

D

 Short

E

 Float

F

 Double


相似考题