你可能喜欢
单项选择题
A. The program runs and prints nothing.
B. The program runs and prints “Equal”.
C. An error at line 5 cause compilation to fail.
D. The program runs but aborts with an exception.
单项选择题
A. The program runs and prints “0”
B. The program runs and prints “1”
C. The program runs but aborts with an exception.
D. An error “possible undefined variable” at line 4 causes compilation to fail.
E. An error “possible undefined variable” at line 9 cause compilation to fail.
多项选择题
A. public interface Person {} Public class Employee extends Person {}
B. public interface Shape {} public interface Rectangle extends Shape {}
C. public interface Color {} public class Shape { private Color color; }
D. public class Species {} public class Animal { private Species species; }
E. interface Component {} Class Container implements Component {private Component [] children;
单项选择题
A. An anonymous class can be declared as static.
B. A static inner class cannot be a static member of the outer class.
C. A static inner class does not require an instance of the enclosing class.
D. Instance member of a static inner class can be referenced using the class name of the staticinner class.
多项选择题
A. An inner class may be declared as static.
B. An anonymous inner class can be declared as public.
C. An anonymous inner class can be declared as private.
D. An anonymous inner class can extend an abstract class.
E. An anonymous inner class can be declared as protected.
多项选择题
A. The tag is invoked without a body.
B. The doTAb method throws an exception.
C. The
D. The tag is called with the attribute skip-body=true
单项选择题
A. GET
B. INFO
C. HEAD
D. TRACE
E. OPTIONS
单项选择题
A. second = request.getParameter (“foo”):
B. second = request.getParameter (“foo”, 1):
C. second = request.getParameter (“foo”,2):
D. second = request.getParameter (foo”) [1]:
E. second = request.getParameter Values (“foo”) [1]: