nerdexam
Oracle

1Z0-815 · Question #14

Given: Which statement is true?

The correct answer is A. Class Tester does not need to import java.time.LocalDate because it is already visible to. See the full explanation below for the reasoning.

Question

Given:

Which statement is true?

Exhibit

1Z0-815 question #14 exhibit

Options

  • AClass Tester does not need to import java.time.LocalDate because it is already visible to
  • BAll classes from the package java.time. are loaded for the class Diary.
  • COnly LocalDate class from java.time package is loaded.
  • DTester must import java.time.LocalDate in order to compile.

How the community answered

(35 responses)
  • A
    77% (27)
  • B
    3% (1)
  • C
    14% (5)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-815 Practice