题目详情
单选题 What assigns a value to foo that is closest to, but not greater than, a double value bar?注:哪一项赋一个最接近但不大于bar的值给foo
A. int foo =(int)Math.max(bar)
B. int foo =(int)Math.min(bar)
C. int foo =(int)Math.abs(bar)
D. int foo =(int)Math.ceil(bar)
E. int foo =(int)Math.floor(bar)
F. int foo =(int)Math.round(bar)
学科:Java程序设计(2023年秋季)
时间:2023-12-26 10:36:28
相关题目
相关作业