Whichcodedeterminestheintvaluefooclosesttoadoublevaluebar?()A.Intfoo=(int)Math.max(bar);B.Intfoo=(int)Math.min(bar);C.Intfoo=(int)Math.abs(bar);D.Intfoo=(int)Math.ceil(bar);E.Intfoo=(int)Math.floor(bar);F.Intfoo=(int)Math.round(bar);

题目
Whichcodedeterminestheintvaluefooclosesttoadoublevaluebar?()

A.Intfoo=(int)Math.max(bar);

B.Intfoo=(int)Math.min(bar);

C.Intfoo=(int)Math.abs(bar);

D.Intfoo=(int)Math.ceil(bar);

E.Intfoo=(int)Math.floor(bar);

F.Intfoo=(int)Math.round(bar);


相似考题