Ask Question
13 January, 02:38

Consider the following definition of a recursive method. public static int func2 (int m, int n) { if (n = = 0) return 0; else return m + func2 (m, n - 1); } Which of the following statements about the code in the accompanying is always true?

System. out. println (recFunc (10));

10

110

This statement results in infinite recursion.

None of these

+1
Answers (1)
  1. 13 January, 02:44
    0
    None of these

    Explanation:

    110
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Consider the following definition of a recursive method. public static int func2 (int m, int n) { if (n = = 0) return 0; else return m + ...” in 📗 Engineering if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers