Jump statements in Java class 9/10 ICSE | Iterative constructs in Java | break, continue and return.

preview_player
Показать описание
Jump Statements in Java Icse 9/10. There are three jump statements in Java which are break, continue and return statement.

- break statement terminates the current loop or switch statement.
- continue statement skips the current iteration of any loop.
- return statement terminates the method.

This video is the part of Iterative constructs in Java in which we had discussed about for loop, while loop and do-while loop.
Java provides three types of looping constructs in - for loop, while loop and do - while loop. All three loops repeat a set of instructions as long as the underlying condition remains true. The underlying condition is termed as the test condition. The test condition may be evaluated before the start of the loop or at the end of the loop. Accordingly, the loop is termed as an entry - controlled loop or exit - controlled loop, respectively.
Рекомендации по теме
visit shbcf.ru