Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 exam•Written by the Fiveable Content Team • Last updated August 2025
Definition
This term refers to an optional part of an if statement. When the condition in the if statement evaluates to false, the code block associated with else executes instead.