Search:

Type: Posts; User: chronoz13

Search: Search took 0.34 seconds.

  1. Replies
    3
    Views
    4,538

    Re: Simple recursion logic

    ahh so thats how recursion process works...

    im just confuse where does the value go every time it evaluates....

    so thats it... tnx guys...
  2. Replies
    3
    Views
    4,538

    Simple recursion logic

    can any one help me figure out how this recursion done?



    public class RecursiveMethodSum {

    public static int sum(int n) {

    if (n == 1) {
Results 1 to 2 of 2