多项选择题X 纠错
A.super(name, baseSalary);
B.this.commission = commission;
C.super(); this.commission = commission;
D.this.commission = commission; super();
E.super(name, baseSalary); this.commission = commission;
你可能喜欢
多项选择题
A.x.a2();
B.z.a2();
C.z.c1();
D.z.a1();
E.y.c1();
F.x.a1();
单项选择题
A.peep
B.bark
C.meow
D.Compilation fails.
E.An exception is thrown at runtime.
单项选择题
A.Line 4 of class Target can be changed to return i++;
B.Line 2 of class Target can be changed to private int i = 1;
C.Line 3 of class Target can be changed to private int addOne(){
D.Line 2 of class Target can be changed to private Integer i = 0;
单项选择题
A.assert value == null;
B.assert value != null, "value is null";
C.if (value == null) { throw new AssertionException("value is null"); }
D.if (value == null) { throw new IllegalArgumentException("value is null"); }
单项选择题
A.Tight coupling
B.Low cohesion
C.High cohesion
D.Loose coupling
E.Weak encapsulation
单项选择题
A.b = nf.parse( input );
B.b = nf.format( input );
C.b = nf.equals( input );
D.b = nf.parseObject( input );
单项选择题
A.ad
B.ada
C.add
D.adad
单项选择题
A.0
B.1
C.4
D.Compilation fails.
单项选择题
A.An exception is thrown at runtime
B.pw: fido got fido name: bob got bob
C.pw: got fido name: bob got bob
D.Compilation fails.
多项选择题
A.When using versions of Java technology earlier than 5.0.
B.When sharing a StringBuffer among multiple threads.
C.When using the java.io class StringBufferInputStream.
D.When you plan to reuse the StringBuffer to build more than one string.