Which of the following statements is correct? a jump statement such as a break is required after each case block excluding the last block if it is a default statement. the switch statement can include any number of case instances with two case statements having the same value. it is not possible to extend the if statement to handle multiple conditions using the else-if arrangement. the if statement selects a statement for execution based on the value of a boolean expression. c# always supports an implicit fall through from one case label to another?
Answers
Answered by
0
case1: s1;
break;
case2 :s2;
break;
first and second are true.
3rd one is false you can use else-if as switch statement.
4th one is also true.
I am not Sure about Fifth one.
break;
case2 :s2;
break;
first and second are true.
3rd one is false you can use else-if as switch statement.
4th one is also true.
I am not Sure about Fifth one.
Similar questions