exam questions

Exam 98-388 All Questions

View all questions & answers for the 98-388 exam

Exam 98-388 topic 1 question 29 discussion

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

HOTSPOT -
You are writing a Java method.
The method must meet the following requirements:
✑ Accept a String array named entries
✑ Iterate through entries
✑ Stop the iteration and return false if any element has more than 10 characters
✑ Otherwise, return true
How should you complete the code? To answer, select the appropriate code segments in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:

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
aaron_123
Highly Voted 4 years, 10 months ago
supposed to be a for not a while. this is a for enhanced loop
upvoted 13 times
rodrigoandrade
3 years, 11 months ago
exactly
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 ...