最新的Oracle Java SE 11 Programmer I - 1z1-815免費考試真題
問題1
Given:

Which statement is true?

Which statement is true?
正確答案: C
問題2
Given:

It is required that if p instanceof Pair then p.isValid() returns true.
Which is the smallest set of visibility changes to insure this requirement is met?

It is required that if p instanceof Pair then p.isValid() returns true.
Which is the smallest set of visibility changes to insure this requirement is met?
正確答案: B
問題3
Given:

What is the output?

What is the output?
正確答案: C
說明:(僅 VCESoft 成員可見)
問題4
Given:

Which two lines can replace line 1 so that the Y class compiles? (Choose two.)

Which two lines can replace line 1 so that the Y class compiles? (Choose two.)
正確答案: C,D
問題5
Given:

What is the type of x?

What is the type of x?
正確答案: B
問題6
Given:

Which statement is true about the Fox class?

Which statement is true about the Fox class?
正確答案: E
問題7
Given:

Which is true?

Which is true?
正確答案: A
問題8
Given:

Which two lines inserted in line 1 will allow this code to compile? (Choose two.)

Which two lines inserted in line 1 will allow this code to compile? (Choose two.)
正確答案: A,E
問題9
Given:

Which three are true? (Choose three.)

Which three are true? (Choose three.)
正確答案: A,C,D
問題10
Which three initialization statements are correct? (Choose three.)
正確答案: A,D,F

