Question: 6 4 1 point In the following code that uses recursion to find the factorial of a number, what is the base case? private static
point
In the following code that uses recursion to find the factorial of a number, what is the base case?
private static int factorialint
if
return ;
else
return factorialn;
else
return factorial;
Cannot tell from this code
if
return ;
factorialint
Clear my selection
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
