exam questions

Exam 1z0-808 All Questions

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

Exam 1z0-808 topic 1 question 32 discussion

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

Given the code from the Greeting.Java file:

Which set of commands prints Hello Duke in the console?

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

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
SamAru
Highly Voted 5 years, 1 month ago
Correct Option is C
upvoted 9 times
...
M_Jawad
Highly Voted 5 years, 7 months ago
javac Greeting.jaca : To compile the program java Greeting Duke : To run the program with argument "Duke"
upvoted 6 times
...
vic88
Most Recent 8 months ago
Selected Answer: C
c is the right answer
upvoted 1 times
...
Vicky_65
2 years, 4 months ago
Selected Answer: C
C is the valid one
upvoted 1 times
...
iSnover
2 years, 9 months ago
Selected Answer: C
The answer is the letter C, there is not much to say, here is the explanation of the commands: javac Greeting.java ---> To compile the program java Greeting Duke ---> To run the program with argument "Duke"
upvoted 2 times
...
alexandrustefanescu
4 years, 1 month ago
C is correct but this website is has more than 50% wrong answers.
upvoted 2 times
...
SSJ5
4 years, 4 months ago
Correct Answer is C
upvoted 1 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 ...