InterviewSolution
Saved Bookmarks
| 1. |
What is Recursion in Java?(a) Recursion is a class(b) Recursion is a process of defining a method that calls other methods repeatedly(c) Recursion is a process of defining a method that calls itself repeatedly(d) Recursion is a process of defining a method that calls other methods which in turn call again this methodI have been asked this question in final exam.The origin of the question is Recursion topic in chapter Classes and Methods of Java |
|
Answer» CORRECT answer is (b) Recursion is a process of defining a METHOD that calls other METHODS repeatedly The explanation is: Recursion is the process of defining something in terms of itself. It allows US to define a method that calls itself. |
|