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
正确答案:F
答案解析:有

微信扫一扫手机做题
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?()
微信扫一扫手机做题