Which of these expressions evaluates to 5.5? I. (double)(11 / 2) II. 11 / (double)2 III. 11 / 2.0
If String str = "The There Here", then what is the value of str.indexOf("he");?
A.0
B.1
C.2
D.5
E.−1
Consider the method total below: public static int total (int result, int a, int b) { if (a == 0) { if (b == 0) { return result * 2; } return result / 2; } else { return result * 3; } } The assignment statement x = total (5, 0, 1); must result in (1 point)