单项选择题
A. ABCD
B. Compilation fails.
C. C is printed before exiting with an error message.
D. BC is printed before exiting with an error message.
E. BCD is printed before exiting with an error message.
多项选择题 public class X { public X aMethod() { return this;} } public class Y extends X { } Which two methods can be added to the definition of class Y?()
单项选择题 Whichfragmentisanexampleofinappropriateuseofassertions?()
单项选择题 int i = 1,j = 10; do{ if (i>j) { continue; } j--; } while (++i <6); System.out.println(“i = “ +i+” and j = “+j); What is the result?()