1z1-808 Exam Question 336

Given:

What is the result?
  • 1z1-808 Exam Question 337

    Given the code fragment:
    public class Test {
    public static void main(String[] args) {
    boolean isChecked = false;
    int arry[] = {1,3,5,7,8,9};
    int index = arry.length;
    while ( <code1> ) {
    if (arry[index-1] % 2 ==0) {
    isChecked = true;
    }
    <code2>
    }
    System.out.print(arry(index]+", "+isChecked));
    }
    }
    Which set of changes enable the code to print 1, true?
  • 1z1-808 Exam Question 338

    Given the code fragment:

    What is the result?
  • 1z1-808 Exam Question 339

    Given the code fragment:

    What is the result?
  • 1z1-808 Exam Question 340

    Which statement is true about the switch statement?