单项选择题
Given:
What is the result?()
A.true true
B.false true
C.true false
D.false false
相关考题
-
单项选择题
Given: What creates the appropriate DateFormat object and adds a day to the Date object?()
A.35. DateFormat df = DateFormat.getDateFormat();42. d.setTime( (60 * 60 * 24) + d.getTime());
B.35. DateFormat df = DateFormat.getDateInstance();42. d.setTime( (1000 * 60 * 60 * 24) + d.getTime());
C.35. DateFormat df = DateFormat.getDateFormat();42. d.setLocalTime( (1000*60*60*24) + d.getLocalTime());
D.35. DateFormat df = DateFormat.getDateInstance();42. d.setLocalTime( (60 * 60 * 24) + d.getLocalTime()); -
单项选择题
Given: 11.String test = "a1b2c3"; 12.String[] tokens = test.split("\\d"); 13.for(String s: tokens) System.out.print(s + " "); What is the result?()
A.a b c
B.1 2 3
C.a1b2c3
D.a1 b2 c3 -
多项选择题
Giventhatcisareferencetoavalidjava.io.Consoleobject,whichtwocodefragmentsreadalineoftextfromtheconsole?()
A.String s = c.readLine();
B.char[] c = c.readLine();
C.String s = c.readConsole();
D.char[] c = c.readConsole();
E.String s = c.readLine("%s", "name ");
