Home / Questions / What are the valid places for the keyword break to appear.
Explanatory Question

What are the valid places for the keyword break to appear.

👁 4,351 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Break can appear only with in the looping control and switch statement. The purpose of the break is to bring the control out from the said blocks.