The 'break' statement is used in switch and loop statements, can the 'continue' statement be used in the switch statement instead of the 'break' statement?

99. The "break" statement is used in switch and loop statements, can the "continue" statement be used in the switch statement instead of the "break" statement?

  1. Yes
  2. No

Answer: B) No

Explanation:

No, we cannot use the continue statement instead of the break statement in the switch statement.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.