Skip to main content

Practice · 4 of 4

Exam MCQ

CHALLENGE
Difficulty: advanced+25 XP

What does f(5) return? ``java public static int f(int n) { if (n <= 1) { return 1; } return n * f(n - 1); } `` A. 120 B. 15 C. 24 D. 5 Print the letter, then your one-sentence justification.

Back to lesson: Practice: Exam #1: MCQ section