單項(xiàng)選擇題

public class returnIt (  
 returnType methodA(byte x, double y) ( 
 return (short) x/y * 2;  
) 
)  
What is the valid returnType for methodA in line 2?()

A. Int
B. Byte
C. Long
D. Short
E. Float
F. Double

微信掃碼免費(fèi)搜題