Which of the following rules about a default branch in a switch statement are correct? (Choose two.)

Question:

Which of the following rules about a default branch in a switch statement are correct? (Choose two.) 

A. A switch statement is required to declare a default statement. 

B. A default statement must be placed after all case statements. 

C. A default statement can be placed between any case statements. 

D. Unlike a case statement, a default statement does not take a parameter value. 

E. A switch statement can contain more than one default statement. 

F. A default statement can be used only when at least one case statement is present.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: