Java Reference
In-Depth Information
The output from the program is shown here:
Recursion
In Java, a method can call itself. This process is called recursion , and a method that calls
itself is said to be recursive . In general, recursion is the process of defining something in
terms of itself and is somewhat similar to a circular definition. The key component of a re-
Search WWH ::




Custom Search