Which of these is not a correct statement?
A. A recursive method must have a base case.
B. Recursion always uses stack.
C. Recursive methods are faster that programmers written loop to call the function repeatedly using a stack.
D. Recursion is managed by Java’s Run – Time environment.
Answer:A
Which of these is not a correct statement?
A. A recursive method must have a base case. B. Recursion always uses stack. C. Recursive methods are faster that programmers written loop to call the function repeatedly using a stack. D. Recursion is managed by Java’s Run – Time environment.
Explanation: Recursion is always managed by operating system.