title: Multiple open and close curly brackets inside method. - Java
body: <pre><code> public class MyTestClass {
  
      public static void main(String[] args) {
          new MyTestClass().myMethod();
      }
  
      public void myMethod(){
          {
          //do something 
          }
          {
              //do something 
          }
          {
              //do something 
          }
      }//method close
  
  }//class close
  </code></pre>
  
  <p>What is the benefit of doing this? I have seen this kind of code.</p>