English

Explain the following jumping statement: Continue

Advertisements

Question

Explain the following jumping statement:

Continue

Explain
Advertisements

Solution

In Java, the continue statement is a jumping statement used to skip the remaining statements of the current iteration of a loop and proceed to the next iteration. It transfers program control to the next iteration of a for, while, or do-while loop without terminating the loop.

shaalaa.com
  Is there an error in this question or solution?
Chapter 7: Statements and their Scope - EXERCISE [Page 163]

APPEARS IN

Dheeraj Mehrotra Computer Science [English] Class 12
Chapter 7 Statements and their Scope
EXERCISE | Q 8. (c) | Page 163
Advertisements
Share
Notifications



      Forgot password?
Use app×