Solved

If a Switch Statement Contains No Break Statements at All

Question 8

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents