Break Statement in Java

Java supports three types of jump statements: break, continue, and return. These statements alter the normal flow of execution by transferring control to another part of the program. For example, suppose there is a list of 100 names and we…






