[2023年06月07日]1z0-811認定ガイド問題と解答トレーニング [Q16-Q35]

Share

[2023年06月07日]1z0-811認定ガイド問題と解答トレーニング

1z0-811認定お試しセット最新1z0-811のPDF問題集

質問 # 16
Which method identifier is correct according to Java naming conventions?

  • A. calculatebill
  • B. Calculator
  • C. BillCalculator
  • D. calculateBill

正解:B


質問 # 17
Given the classes:

Which two modifications, independently, enable the Salad.java file to compile?

  • A. Replace line n1 with import fruits.Apple;
  • B. Replace line n2 with fruits.Apple apple = new fruits.Apple ();
  • C. Replace line n2 with fruits.Apple apple = new Apple ();
  • D. Replace line n1 with import fruits;
  • E. Replace line n1 with import fruits.Apple.getApple();

正解:C、E


質問 # 18
Given the code fragment:

What is the result?

  • A. [jasmine, rose, lily]
  • B. A runtime exception is thrown.
  • C. [jasmine, lily, lotus]
  • D. [jasmine, rose, lotus, lily]

正解:B


質問 # 19
Identify three features of the Java programming language.

  • A. dynamically typed
  • B. strongly typed
  • C. multithreaded
  • D. distributed
  • E. direct memory management

正解:A、C、D


質問 # 20
Which two statements are true about the Java Runtime Environment (JRE)?

  • A. You must install the JRE to compile a .java file.
  • B. It is responsible for garbage collection.
  • C. It contains the JDK and Java APIs.
  • D. It is platform independent.
  • E. It interprets bytecode stored in a .class file.

正解:D、E


質問 # 21
Given the code fragment:

What is the result?

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

正解:D


質問 # 22
Identify two features of Java.

  • A. robust
  • B. platform independent
  • C. single threaded
  • D. architecture dependent

正解:A、B


質問 # 23
Given the code fragment:

What is the result?

  • A. A runtime exception is thrown.
  • B. A compilation error occurs.
  • C. pen pencil erasers paper
  • D. paper pen pencil erasers

正解:A


質問 # 24
Given the code fragment:

At which line does a compilation error occur?

  • A. lines 5 and 7
  • B. lines 6 and 8
  • C. line 5
  • D. line 7

正解:C


質問 # 25
Given the code fragment:

Which two code fragments are valid at line 2?

  • A. {
    private int num;
    }
  • B. package p1;
  • C. import java.util.*;
    public void display() {
    List<Integer> nums = new ArrayList<> ();
    }
  • D. private String name = "John";
    public void display() {
    System.out.print(name);
    }
  • E. for (int count = 0; count < 5; count++) {
    System.out.print(count);
    }

正解:B、D


質問 # 26
Given the code fragment:

What is the result?

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

正解:C


質問 # 27
Given:

What is the result?

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

正解:C


質問 # 28
Given the code fragment:

What is the result?

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

正解:A


質問 # 29
Given the code fragment:

Which statement, when inserted at line n1, enables the code to print 0 2 4 6 8 10?

  • A. count = count++;
  • B. count = (count++) +1;
  • C. count =+ 2;
  • D. count += 2;

正解:D


質問 # 30
Given:

What is the result?

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

正解:B


質問 # 31
Identify two class variables.

  • A. public int size = 10;
  • B. private Measure cm;
  • C. private static int numberOfSquares = 20;
  • D. public static int counter = 0;
  • E. int scale = 35;

正解:C、D


質問 # 32
Given the code fragment:

What is the result?

  • A. 0
  • B. 1
  • C. Nothing is printed.
  • D. 2

正解:D


質問 # 33
Given:

What is the result?

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

正解:D


質問 # 34
Given the code fragment:

What is the result?

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

正解:C


質問 # 35
......

ベストOracle 1z0-811学習ガイドと問題集は2023:https://jp.fast2test.com/1z0-811-premium-file.html

トップクラスOracle 1z0-811試験最先端学習ガイド!練習問題バージョン:https://drive.google.com/open?id=1cjwoE4Mg_ibTa-Ro6MG0zapZR_8lpeV1


弊社を連絡する

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

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

サポート: 現在連絡 

English Deutsch 繁体中文 한국어