你可能喜欢
单项选择题
A.b = nf.parse( input );
B.b = nf.format( input );
C.b = nf.equals( input );
D.b = nf.parseObject( input );
单项选择题
A.18. d = df.parse(ds);
B.18. d = df.getDate(ds);
C.18. try {19. d = df.parse(ds);20. } catch(ParseException e) { };
D.18. try {19. d = df.getDate(ds);20. } catch(ParseException e) { };
单项选择题
A.restore 400
B.restore 403
C.restore 453
D.Compilation fails.
E.An exception is thrown at runtime.
单项选择题
A.Canada
B.null Canada
C.Canada null
D.Canada Canada
E.Compilation fails due to an error on line 26.
多项选择题
A.Looser coupling
B.Tighter coupling
C.Lower cohesion
D.Higher cohesion
E.Weaker encapsulation
单项选择题
A.If line 10 is removed, the compilation succeeds.
B.If line 11 is removed, the compilation succeeds.
C.If line 12 is removed, the compilation succeeds.
D.If line 13 is removed, the compilation succeeds.
E.More than one line must be removed for compilation to succeed.
单项选择题
A.any class
B.only the Target class
C.any class in the test package
D.any class that extends Target
单项选择题
A.class Man extends Dog { }
B.class Man implements Dog { }
C.class Man { private BestFriend dog; }
D.class Man { private Dog bestFriend; }
E.class Man { private Dog
F.class Man { private BestFriend
多项选择题
A.Change line 2 to:public int a;
B.Change line 2 to:protected int a;
C.Change line 13 to:public Sub() { this(5); }
D.Change line 13 to:public Sub() { super(5); }