Multiple Choice
switch (phoneDigit)
{
case 1: num = 1;
break;
case 2: num = 2;
break;
case 3: num = 3;
break;
case 4: num = 4;
break;
default: num = 0;
break;
}
Looking at the example above, what happens if the break is omitted?
A) a syntax error is generated
B) num is always assigned 0
C) num is never assigned a value
D) num is assigned 1
Correct Answer:

Verified
Correct Answer:
Verified
Q65: if (examScore > 89)<br>Grade = 'A';<br>The expression
Q66: You cannot use the _ statement to
Q67: Iteration, also called selection is used for
Q68: if (examScore > 89);<br> grade = 'A';<br>Using
Q69: Using a single equal symbol inside a
Q70: With a switch statement, if no match
Q71: Placing a semicolon onto the end of
Q72: When you compare characters stored in char
Q73: The switch statement case value can evaluate
Q75: The conditional expression true || false produces