Question 52 of 76 from exam 1Z0-808: Java SE 8 Programmer I
Question
Given the code fragment:
![String[] strs = new String[2];
int idx = 0;
for (String s : strs) {
strs[idx].concat(" element "+ idx);
idxt+;
)
for (idx = 0; idx < strs.length; idxt+t) {
system. out. println (strs[idx]) i](https://eaeastus2.blob.core.windows.net/optimizedimages/static/images/Java-SE-8-Programmer/question/img0005800001.png)
What is the result?
Answers
Explanations
Click on the arrows to vote for the correct answer
A. B. C. D.D.
Given the code fragment:
What is the result?
Click on the arrows to vote for the correct answer
A. B. C. D.D.