exam questions

Exam 1z0-808 All Questions

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

Exam 1z0-808 topic 1 question 231 discussion

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

Given the code from the App.java.file:



Which command prints SE 8 Standard in the console window?

  • A. java App “SE 8 Standard”
  • B. java App “SE 8”, “Standard”
  • C. java App SE 8 Standard
  • D. java App “SE 8” Standard
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Ericausdresden
Highly Voted 6 months ago
this one is a bit confusing to me, as " : " is missing in the question...
upvoted 5 times
...
DriftKing
Most Recent 5 months, 1 week ago
Selected Answer: D
Tested. D. java App “SE 8” Standard args[0] will be SE 8 args[1] will be Standard
upvoted 2 times
...
dsms
5 months, 2 weeks ago
Selected Answer: D
D. java App “SE 8” Standard
upvoted 1 times
...
jackymak
6 months, 2 weeks ago
Selected Answer: D
A. java App “SE 8 Standard” It has only one parameter and will return "SE 8 Standard:" B. java App “SE 8”, “Standard” comma cannot be separator. it will return "SE 8,:Standard" C. java App SE 8 Standard It has 3 parameters so it will return "SE:8" D. java App “SE 8” Standard This one will return "SE 8:Standard" public class App { public static void main(String[] args) { System.out.println(args[0]+":"+args[1]); } }
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago