exam questions

Exam 98-388 All Questions

View all questions & answers for the 98-388 exam

Exam 98-388 topic 1 question 9 discussion

Actual exam question from Microsoft's 98-388
Question #: 9
Topic #: 1
[All 98-388 Questions]

DRAG DROP -
You are interviewing for a job at Adventure Works, Inc. The hiring manager asks you to create a single console program.
The program takes multiple arguments from the command line and writes them to the screen in the same order as they were typed on the command line.
Which three code segments should you use to develop the solution? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
References:
https://docs.oracle.com/javase/tutorial/getStarted/cupojava/netbeans.html

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
ferdmann
Highly Voted 4 years, 11 months ago
public static void main(String[] args){ for(int i = 0; i < args.length; i++){ System.out.println(args[i]); } }
upvoted 20 times
Abhitera
4 years, 4 months ago
Ur answer is correct
upvoted 3 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 ...