Oracle
1Z0-815 · Question #7
Which is the correct order of possible statements in the structure of a Java class file?
The correct answer is D. package, class, import. See the full explanation below for the reasoning.
Question
Which is the correct order of possible statements in the structure of a Java class file?
Options
- Aclass, package, import
- Bpackage, import, class
- Cimport, package, class
- Dpackage, class, import
- Eimport, class, package
How the community answered
(31 responses)- A3% (1)
- B16% (5)
- C6% (2)
- D71% (22)
- E3% (1)
Community Discussion
No community discussion yet for this question.