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

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

public static int mystery(int n)
{
   if (n == 0)
      return 1;
   else
      return 3 * mystery (n - 1);
}