1Z0-853 무료 덤프문제 온라인 액세스
| 시험코드: | 1Z0-853 |
| 시험이름: | Java Standard Edition 5 Programmer Certified Professional Exam |
| 인증사: | Oracle |
| 무료 덤프 문항수: | 362 |
| 업로드 날짜: | 2026-11-27 |
Given:
11.
String test = "a1b2c3";
12.
String[] tokens = test.split("\\d");
13.
for(String s: tokens) System.out.print(s + " ");
What is the result?
Given:
1.class Super {
2.private int a;
3.protected Super(int a) { this.a = a; }
4.} ...
11.
class Sub extends Super {
12.
public Sub(int a) { super(a); }
13.
public Sub() { this.a = 5; }
14.
}
Which two, independently, will allow Sub to compile? (Choose two.)
Given:
11.
static void test() throws Error {
12.
if (true) throw new AssertionError();
13.
System.out.print("test ");
14.
}
15.
public static void main(String[] args) {
16.
try { test(); }
17.
catch (Exception ex) { System.out.print("exception "); }
18.
System.out.print("end ");
19.
}
What is the result?
Given:
11.
String test = "a1b2c3";
12.
String[] tokens = test.split("\\d");
13.
for(String s: tokens) System.out.print(s + " ");
What is the result?
Given:
11.
class Snoochy {
12.
Boochy booch;
13.
public Snoochy() { booch = new Boochy(this); }
14.
}
15.
16.
class Boochy {
17.
Snoochy snooch;
18.
public Boochy(Snoochy s) { snooch = s; }
19.
}
And the statements:
21.
public static void main(String[] args) {
22.
Snoochy snoog = new Snoochy();
23.
snoog = null;
24.
// more code here
25.
}
Which statement is true about the objects referenced by snoog, snooch, and booch immediately after line 23 executes?