Question 30 of 76 from exam 1Z0-808: Java SE 8 Programmer I

Question 30 of 76 from exam 1Z0-808: Java SE 8 Programmer I

Question

Given the code fragment:

public static void main(string[] args) {
String[] arr = ("A", "BY, "C", "D"};
for (int i = 0; i < arr.length; i++)
system.out.print (arr[i] + " "Ji
if (arr[i].equals("c")) {
continue;

}
System. out.println ("Work done");

break;

What is the result?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C.