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

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

問題 1

Given:
10.
abstract public class Employee {
11.
protected abstract double getSalesAmount();
12.
public double getCommision() {
13.
return getSalesAmount() * 0.15;
14.
}
15.
}
16.
class Sales extends Employee {
17.
// insert method here
18.
}
Which two methods, inserted independently at line 17, correctly complete the Sales class? (Choose two.)

問題 2

Given:
11.
public class Person {
12.
private name;
13.
public Person(String name) {
14.
this.name = name;
15.
}
16.
public int hashCode() {
17.
return 420;
18.
}
19.
}
Which statement is true?

問題 3

Given a correctly compiled class whose source code is:
1.package com.sun.sjcp;
2.public class Commander {
3.public static void main(String[] args) {
4.// more code here
5.}
6.}
Assume that the class file is located in /foo/com/sun/sjcp/, the current directory is /foo/, and that the classpath contains "." (current directory).
Which command line correctly runs Commander?

問題 4

Given classes defined in two different files:
1.package util;
2.public class BitUtils {
3.private static void process(byte[] b) {}
4.}
1.package app;
2.public class SomeApp {
3.public static void main(String[] args) {
4.byte[] bytes = new byte[256];
5.// insert code here
6.}
7.}
What is required at line 5 in class SomeApp to use the process method of BitUtils?

問題 5

Which two code fragments will execute the method doStuff() in a separate thread? (Choose two.)

コメントを追加

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

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