1Z0-853 試験問題を無料オンラインアクセス

試験コード:1Z0-853
試験名称:Java Standard Edition 5 Programmer Certified Professional Exam
認定資格:Oracle
無料問題数:362
更新日:2026-11-15
評価
100%

問題 1

Given:
12.
Date date = new Date();
13.
df.setLocale(Locale.ITALY);
14.
String s = df.format(date);
The variable df is an object of type DateFormat that has been initialized in line 11.
What is the result if this code is run on December 14, 2000?

問題 2

Given:
33.
try {
34.
// some code here
35.
} catch (NullPointerException e1) {
36.
System.out.print("a");
37.
} catch (RuntimeException e2) {
38.
System.out.print("b");
39.
} finally {
40.
System.out.print("c");
41.
}
What is the result if a NullPointerException occurs on line 34?

問題 3

Given a pre-generics implementation of a method:
11.
public static int sum(List list) {
12.
int sum = 0;
13.
for ( Iterator iter = list.iterator(); iter.hasNext(); ) {
14.
int i = ((Integer)iter.next()).intValue();
15.
sum += i;
16.
}
17.
return sum;
18.
}
Which three changes must be made to the method sum to use generics? (Choose three.)

問題 4

Given:
1.public interface A {
2.String DEFAULT_GREETING = "Hello World";
3.public void method1();
4.}
A programmer wants to create an interface called B that has A as its parent. Which interface declaration is correct?

問題 5

DRAG DROP
Click the Task button.

コメントを追加

あなたのメールアドレスが公開されることはありません。個人情報に関する内容は隠されます *

insert code
画面にある文字を入力してください。