In Java, what does the "default" keyword refer to in a "switch" statement?
A. The default loop condition
B. A reserved keyword with no specific meaning
C. The default value of a variable
D. The default case to execute when no other case matches
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