2023年最新のOracle 1z1-811試験問題には77問があります [Q23-Q43]

Share

2023年最新のOracle 1z1-811試験問題には77問があります

無料で使える1z1-811別格な問題集をダウンロード2023年11月29日に更新された77問があります


Oracle 1z0-811の認定試験は、Javaプログラミング言語の基本的な知識をテストするように設計されています。これは初心者向けのエントリーレベルの認定試験であり、Java開発を追求する興味を持っている人に最適です。試験の内容には、Java構文、データ型、制御構造、クラスとオブジェクト、継承、ポリモーフィズム、例外処理、基本的な入出力操作などが含まれます。

 

質問 # 23
What does import java.io* mean?

  • A. All classes in the io package and the subpackages of io packages, if any, are imported.
  • B. Only the io class is imported.
  • C. All classes in the io package are imported.
  • D. All classes whose names start with io are imported.

正解:A


質問 # 24
Given:

What is the result?

  • A. 100
    100
  • B. A compilation error occurs at line n2.
  • C. 100
    200
  • D. A compilation error occurs at line n1.

正解:A


質問 # 25
Identify two valid data types for the operands of the addition (+) operator?

  • A. array
  • B. string
  • C. boolean
  • D. numeric

正解:A、B


質問 # 26
Given:

What is the result?

  • A. Nothing is printed.
  • B. Compilation fails. To make it compile, replace line n2 with var2 = 0;
  • C. 0
  • D. Compilation fails. To make it compile, replace line n1 with var1 = 0;

正解:B


質問 # 27
Given the code fragment:

What is the output?

  • A. 0
  • B. 1
  • C. 2
  • D. A compilation error occurs.

正解:A


質問 # 28
Given the code fragment:

Which statement is true?

  • A. The code results in a compilation error. To make it compile, insert at line n1:
    import java.lang;
    import java.util;
  • B. The code results in a compilation error. To make it compile, insert at line n1:
    import java.util.*;
  • C. The code compiles successfully
  • D. The code results in a compilation error. To make it compile, insert at line n1:
    import java.lang.Math;
    import java.lang.Random;

正解:C


質問 # 29
Given:

Which statement is true about the main method?

  • A. It cannot be defined in a non-public class.
  • B. Its parameter can be of type Integer [].
  • C. It can be a non-static method.
  • D. It cannot be invoked by its name.

正解:D


質問 # 30
Which package would you import to use the Random class?

  • A. java.util
  • B. java.math
  • C. java.io
  • D. java.lang

正解:A


質問 # 31
Which statement is true about a mutator method?

  • A. It must be declared private.
  • B. It replaces the default constructor.
  • C. It can be used to assign data to instance members.
  • D. It returns mutated instance members.

正解:D


質問 # 32
Given the code fragment:

What is the result?

  • A. true
    true
    true
    false
  • B. true
    true
    true
    true
  • C. false
    false
    false
    false
  • D. true
    false
    false
    false

正解:B


質問 # 33
Given the contents of Student.java:

Which statement is true?

  • A. The commands:
    javac Student.java
    java Student "Richard William" Java
    are used to print Richard William is studying Java.
  • B. The commands:
    javac Course.java
    javac Student.java
    java Course
    java Student "Richard William" Java
    are used to print Richard William is studying Java.
  • C. The commands:
    javac Student.java
    java Student Richard William Java
    throw an error about a missing Course.class file.
  • D. The commands:
    javac Student.java
    java Student Richard William Java
    are used to print Richard William is studying Java.

正解:C


質問 # 34
Given the code fragment:

What is the result?

  • A. true
    false
  • B. false
    true
  • C. false
    false
  • D. true
    true

正解:C


質問 # 35
Identify three advantages of object-oriented programming.

  • A. separation of state and behavior
  • B. code reuse
  • C. information sharing
  • D. information hiding
  • E. modularity

正解:B、D、E


質問 # 36
You have been asked to develop a Java program that prints the elements of an array in reverse order.
Which looping statement cannot be used to meet the requirement?

  • A. do-while
  • B. enhanced for
  • C. while
  • D. standard for

正解:A


質問 # 37
Given the code fragment:

What is the result?

  • A. A runtime exception is thrown
  • B. true
    true
  • C. false
    false
  • D. false
    true

正解:B


質問 # 38
Given the code fragment:

Which code fragment can be inserted at line n1 to enable the code to print 0.0?

  • A. Ball b = null;
    b.weight = 0.0;
  • B. Ball b = new Ball();
  • C. Ball b = new Ball(0.0);
  • D. Ball.weight = 0.0;

正解:B


質問 # 39
Given:

What is the result?

  • A. A compilation error occurs in the modify method.
  • B. A compilation error occurs in the main method.
  • C. 0
  • D. 1

正解:B


質問 # 40
Given the code fragment:

What is the result?

  • A. true true 0
  • B. false false -1
  • C. true false 0
  • D. false true -1

正解:C


質問 # 41
Which statement is true about primitive variables?

  • A. They cannot be compared.
  • B. They can be compared with the equals method only.
  • C. They can be compared with the == operator.
  • D. They can be compared with the compareTo method only.

正解:B


質問 # 42
Given the code fragment:

What is the result?

  • A. A compilation error occurs.
  • B. 10 20
    10 20
  • C. A runtime exception is thrown.
  • D. 10 20
    10 15 20

正解:A


質問 # 43
......

Oracle 1z1-811試験実践テスト問題:https://jp.fast2test.com/1z1-811-premium-file.html

最新の認定試験1z1-811問題集-実践テスト問題:https://drive.google.com/open?id=1iv86D4y52nbUtQNGovmorPWtb0Kfuxbc


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어