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
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)- A77% (27)
- B3% (1)
- C14% (5)
- D6% (2)
Community Discussion
No community discussion yet for this question.
