Leave a Reply 1

Your email address will not be published. Required fields are marked *


renko

renko

Answer: C
package q089;

public class Test {

public static void main(String[] args) {
String[] arr = {“A”, “B”, “C”, “D”};
for (int i = 0; i < arr.length; i++) {
System.out.print(arr[i] +" ");
if (arr[i].equals("C")) {
continue;
}
System.out.println("Work done");
break;
}

}

}
/* Output
A Work done
*/