English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

Differentiate the break and continue statement. - Computer Applications

Advertisements
Advertisements

Question

Differentiate the break and continue statement.

Distinguish Between

Solution

  • Break Statement:
  1. The break statement will terminate the loop early.
  2. The break statement is executed and the loop is terminated.
  • Continue Statement:
  1. The continue statement will skip back to the loop condition check.
  2. When the continue statement is executed, the current is iteration of the enclosing loop is terminated.
shaalaa.com
Introduction of Conditional Statements in Java
  Is there an error in this question or solution?
Chapter 15: Control Structure in Javascript - Evaluation [Page 329]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 11 TN Board
Chapter 15 Control Structure in Javascript
Evaluation | Q 5. | Page 329
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×