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

試験コード:1z0-808
試験名称:Java SE 8 Programmer I
認定資格:Oracle
無料問題数:398
更新日:2026-06-13
評価
100%

問題 1

Given:

How many objects have been created when the line / / do complex stuff is reached?

問題 2

Given:
class Base {
public static void main(String[] args) {
System.out.println("Base " + args[2]);
}
}
public class Sub extends Base{
public static void main(String[] args) {
System.out.println("Overriden " + args[1]);
}
}
And the commands:
javac Sub.java
java Sub 10 20 30
What is the result?

問題 3

Given:
class Base {
// insert code here
}
public class Derived extends Base{
public static void main(String[] args) {
Derived obj = new Derived();
obj.setNum(3);
System.out.println("Square = " + obj.getNum() * obj.getNum());
}
}
Which two options, when inserted independently inside class Base, ensure that the class is being properly encapsulated and allow the program to execute and print the square of the number?

問題 4

Given:

And given the code fragment:

What is the result?

問題 5

View the exhibit.

Given the code fragment:

Which change enables the code to print the following?
James age: 20
Williams age: 32

コメントを追加

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

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