continue & Break In Java #13 شرح

The break keyword is used to break (stopping) a loop execution, which may be a for loop, while loop, do-while, or for each loop. The continue keyword is used to skip the particular recursion only in a loop execution, which may be a for loop, while loop, do-while, or for each loop.
Back to Top