title: how can I come out of if block?
body: <p>Consider this code sample. </p>
  
  <p>This code just serves to explain my question.</p>
  
  <pre><code>boolean status = false;
  for ( int i = 0; i &lt;= 5; i++ ) {
      if ( i == 4 ) { 
          System.out.println ( "Enter into first if" );
          if ( status == false ) {
                 System.out.println ( "Enter into second if" );
                 status = true;
                 if ( status == true ) {
                      System.out.println ( "Enter into third if" );
                      //third if body
                 }
                 //second if body                             
          }
          //first if body
          System.out.println ( "Before exiting first if" );
      }
  }
  </code></pre>
  
  <p><strong>All I want to do is come out from third if to first if.</strong> </p>
  
  <p>We know <strong>break, continue</strong> are there that can be used in <strong>loops</strong>. Can we achieve the same for the <strong>blocks</strong>?</p>