adplus-dvertising
frame-decoration

Question

Which of the following statements is correct?

a.

It is not possible to extend the if statement to handle multiple conditions using the else-if arrangement.

b.

The switch statement can include any number of case instances with two case statements having the same value.

c.

A jump statement such as a break is required after each case block excluding the last block if it is a default statement.

d.

The if statement selects a statement for execution based on the value of a Boolean expression.

Posted under C# programming

Answer: (d).The if statement selects a statement for execution based on the value of a Boolean expression.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following statements is correct?

Similar Questions

Discover Related MCQs