title: Does extra braces inside a method have any usage?
body: <p>I know about <a href="https://docs.oracle.com/javase/tutorial/java/javaOO/initial.html" rel="nofollow noreferrer">static initialization blocks</a> and <a href="https://stackoverflow.com/questions/1958636/what-is-double-brace-initialization-in-java">double brace initialization</a>.
  But what about extra braces in a method.<br>
  The compiler does not throw any exception for the following code:</p>
  
  <pre><code>public static void main (String [] args) {
  String hello = "Hello";
      {
          System.out.print(hello);
          {{{{{
              System.out.println(" world!");
          }}}}}
      }
  }
  </code></pre>
  
  <p>So why does this work? Shouldn't it throw java.lang.Error?</p>