Break Statement with Label in Java

Break Statement is used to terminate the currect process from the program.
After the break Statement the control will goes to the statement immediately after the loop containing break statement.
Syntax: break;
';' - Semicolon Refers to terminate the statement.
This program additionally uses the Label to forward or backward the control after the break statement to the specified one
Just like Goto but goto statement was not in java
public class BreakWithLable{
 
  public static void main(String[] args) {
   
   
    int[][] intArray = new int[][]{{1,2,3,4,5},{10,20,30,40,50}};
    boolean blnFound = false;
   
    System.out.println("Searching 30 in two dimensional int array..");
   
    Outer:
    for(int intOuter=0; intOuter < intArray.length ; intOuter++)
    {
      Inner:
      for(int intInner=0; intInner < intArray[intOuter].length; intInner++)
      {
        if(intArray[intOuter][intInner] == 30)
        {
          blnFound = true;
          break Outer;
        }  
       
      }
    }
   
    if(blnFound == true)
      System.out.println("30 found in the array");
    else
      System.out.println("30 not found in the array");
  }
}