Question: 7. Consider the following method. public static int quest0904 (int a, int b) // precondition: a > 0 and b > 0 { it (a

7. Consider the following method. public static int quest0904 (int a, int b) // precondition: a > 0 and b > 0 { it (a == 1) return b; else return b quest 0904 (a-1,b); } Which of the following expressions represents the result of calling method quest0904? (A) a + b (B) a*b (C) a (D) b (E) a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
