InterviewSolution
Saved Bookmarks
| 1. |
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 Runtime environmentThis question was posed to me during an interview for a job.My doubt stems from Recursion topic in section Classes and Methods of Java |
|
Answer» Right ANSWER is (d) Recursion is MANAGED by JAVA Runtime environment |
|