exam questions

Exam 1z0-808 All Questions

View all questions & answers for the 1z0-808 exam

Exam 1z0-808 topic 1 question 16 discussion

Actual exam question from Oracle's 1z0-808
Question #: 16
Topic #: 1
[All 1z0-808 Questions]

Given the code fragment from three files:

Which code fragment, when inserted at line 2, enables the code to compile?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
  • E. Option E
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
krkpnr
Highly Voted 4 years, 10 months ago
Correct E
upvoted 12 times
...
DanielLeeee
Highly Voted 3 years, 4 months ago
import sales.*; import sales.products.*; OR import sales.SalesMan; import sales.products.Product;
upvoted 12 times
...
Krok
Most Recent 7 months, 3 weeks ago
Selected Answer: E
Incorrect question: if class name of public class is USMarket then file can't have name Market.java If we rename public class or file - correct answer "E"
upvoted 3 times
...
arjunrawatirissoftware
1 year, 3 months ago
Answer - E
upvoted 1 times
...
fvelazqueznava
1 year, 4 months ago
Selected Answer: E
E is the correct
upvoted 1 times
...
dsms
1 year, 6 months ago
Selected Answer: E
Correct - E
upvoted 1 times
...
Vicky_65
1 year, 10 months ago
Selected Answer: E
correct anser is E
upvoted 2 times
...
Ankit1010
1 year, 12 months ago
E is the correct answer.
upvoted 1 times
...
ddpk
3 years ago
Answer E
upvoted 1 times
...
ddpk
3 years ago
Answer C
upvoted 1 times
ddpk
3 years ago
Sorry it's answer E
upvoted 1 times
...
...
andiks
3 years, 6 months ago
Import sales* - Imports all classes in sales but sales itself. Correct answer is C
upvoted 2 times
...
alexandrustefanescu
3 years, 7 months ago
E ist correct!
upvoted 2 times
...
PD1985
4 years, 4 months ago
Answer is E, but there is a typo for last class. file name mentioned as Market.java however the class name is defined as USMarket.java.
upvoted 3 times
...
SamAru
4 years, 7 months ago
Agreeed, Option E is correct!
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago