Multiple choice

Which of the following statements is/are correct for recursion in Java? A. Recursion methods normally require extra memory. B. Recursion methods take more time.

  1. Only A

  2. Only B

  3. Both A and B

  4. Neither A nor B

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Both are the disadvantages of recursion. Recursion always takes more space and time.