Question: 8. Given this method signature and definition public static int func1 (int a, int b) int result = 5 * b-4*a; return result+2 3 find
8. Given this method signature and definition public static int func1 (int a, int b) int result = 5 * b-4*a; return result+2 3 find the output when these statements are executed. int num = func1(-6, 5); System.out.println(num); a. 27 b. 44 c. 52 d. 55 9. Evaluate the following expression. Math.sqrt(36) * Math.min(Math.abs(-3), Math.abs(-4) a. 24.0 b. 32.0 c. 18.0 d. 5184.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
