Solved

If a Switch Statement Contains No Break Statements at All

Question 22

Multiple Choice

If a switch statement contains no break statements at all,


A) a syntax error will occur
B) each of the case clauses will be executed every time the switch statement is encountered
C) this is equivalent to having the switch statement always take the default clause, if one is present
D) this is not a syntax error but nothing within the switch statement will ever be executed
E) None of these

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions