Ask Question
12 December, 15:58

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

+5
Answers (1)
  1. 12 December, 19:04
    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 you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers