الرجوع
تسجيل الدخول

Given the following method declaration, what value is returned as the result of the call product(5)?

public static int product(int n)
{
   if (n <= 1)
      return 1;
   else
      return n * product(n - 2);
}