Jump Statements in java

Java supports three jump statements: break, continue, and return. These statements transfer control to another part of your program Using break In Java, the break statement has three uses. First, as you have seen, it terminates a statement sequence in a switch statement. Second, it can be used to exit a loop. Third, it can … Read more