1Z0-853 무료 덤프문제 온라인 액세스
| 시험코드: | 1Z0-853 |
| 시험이름: | Java Standard Edition 5 Programmer Certified Professional Exam |
| 인증사: | Oracle |
| 무료 덤프 문항수: | 362 |
| 업로드 날짜: | 2026-08-23 |
Given:
10.
public class ClassA {
11.
public void count(int i) {
12.
count(++i);
13.
}
14.
}
And:
20.
ClassA a = new ClassA();
21.
a.count(3);
Which exception or error should be thrown by the virtual machine?
Given:
10.
public class MyClass {
11.
12.
public Integer startingI;
13.
public void methodA() {
14.
Integer i = new Integer(25);
15.
startingI = i;
16.
methodB(i);
17.
}
18.
private void methodB(Integer i2) {
19.
i2 = i2.intValue();
20.
21.
}
22.
}
If methodA is invoked, which two are true at line 20? (Choose two.)
Given:
11.
static void test() {
12.
try {
13.
String x = null;
14.
System.out.print(x.toString() + " ");
15.
}
16.
finally { System.out.print("finally "); }
17.
}
18.
public static void main(String[] args) {
19.
try { test(); }
20.
catch (Exception ex) { System.out.print("exception "); }
21.
}
What is the result?
Given:
10.
class Line {
11.
public static class Point {}
12.
}
13.
14.
class Triangle {
15.
// insert code here
16.
}
Which code, inserted at line 15, creates an instance of the Point class defined in Line?