多项选择题

Given:

Which two can be results?()

A.java.lang.RuntimeException: Problem
B.run.java.lang.RuntimeException: Problem
C.End of method.java.lang.RuntimeException: Problem
D.End of method.run.java.lang.RuntimeException: Problem
E.run.java.lang.RuntimeException: ProblemEnd of method


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题

Given:

What is the result?()

A.Compilation fails.
B.An exception is thrown at runtime.
C.[608, 610, 612, 629] [608, 610]
D.[608, 610, 612, 629] [608, 610, 629]
E.[606, 608, 610, 612, 629] [608, 610]

2.单项选择题

Given:

What is the result?()

A.2
B.24
C.234
D.246
E.2346

3.多项选择题

Click the Exhibit button

Which two statements are true if a NullPointerException is thrown on line 3 of class C?()

A.The application will crash.
B.The code on line 29 will be executed.
C.The code on line 5 of class A will execute.
D.The code on line 5 of class B will execute.
E.The exception will be propagated back to line 27.

4.单项选择题

Given:

What is the result?()

A.s 14
B.s 16
C.s 10
D.Compilation fails.

6.多项选择题

Given:

What are four valid examples of polymorphic method calls?()

A.x.a2();
B.z.a2();
C.z.c1();
D.z.a1();
E.y.c1();
F.x.a1();

7.多项选择题

Click the Exhibit button.

What two must the programmer do to correct the compilation errors?()

A.insert a call to this() in the Car constructor
B.insert a call to this() in the MeGo constructor
C.insert a call to super() in the MeGo constructor
D.insert a call to super(vin) in the MeGo constructor
E.change the wheelCount variable in Car to protected

10.单项选择题

Given:

What is the result?()

A.Compilation fails.
B.Cannot add Toppings
C.The code runs with no output.
D.A NullPointerException is thrown in Line 4.