X483: Recursion - Mystery Method

Use the following recursive method:

public int mysteryMethod(int n) {
  if (n < 0) {
    return 5;
  } else {
    return mysteryMethod(n - 1) + mysteryMethod(n - 2);
  }
}

What value will be returned from the call mysteryMethod(3)?

Your Answer:

Select one answer:

Feedback

Your feedback will appear here when you check your answer.