What combination of values for integer variables a and b cau…

What combination of values for integer variables a and b cause the following code block to print “Branch 2”? if (a < 10 && b < 10) {    System.out.print("Branch 1");} else if ((a < 10 && b > 25) || (a > 25 && b < 10)) {    System.out.println("Branch 2");} else if (a > 25 && b > 25) {    System.out.println(“Branch 3”);}

What is the output of this block of code? public static void…

What is the output of this block of code? public static void main(String[] args){ int checkThis = 6; switch(checkThis) { case 1: System.out.print(“What “); break; case 3: System.out.print(“we “); break; case 4: System.out.print(“do “); case 5: System.out.print(“in “); case 6: System.out.print(“life “); case 8: System.out.print(“echoes “); case 9: System.out.print(“in “); default: System.out.print(“eternity.”); }}