单项选择题
Which code determines the int value foo closest to a double value bar?()
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);
单项选择题 public class Test { public static void main (String args) { string foo = “blue”; string bar = foo; foo = “green”; System.out.printIn(bar); } } What is the result?()
单项选择题 WhichcanbeusedtodecodecharSforoutput?()
单项选择题 WhichconstructsaDataOutputStream?()