Question: Q 5 ( 1 0 ) : What is the output of following method? Please show the recursive call tree structure. public static int recursiveCall
Q: What is the output of following method? Please show the recursive call tree structure.
public static int recursiveCallint a int b
if return b;
System.out.println ;
return recursiveCall recursiveCall;
public static void mainString args
System.out.printlnrecursiveCall ;
Output:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
