What does the "else" statement in an "if-else" statement block indicate?
A. A syntax error
B. A comment
C. The end of the if statement
D. The block of code to execute if the condition is false
Answer: Option D
Related Questions on Flow Control
What is the purpose of the "if" statement in Java?
A. To execute a block of code conditionally
B. To create loops
C. To declare variables
D. To define methods
A. No output
B. Error
C. Hello
D. 5
Join The Discussion