title: can I execute a particular block of code inside a method via thread
body: <p>can I execute a particular block of code inside a method via thread. As for example </p>
  
  <pre><code>Class A{
      public void execute(){
  
      /* some code where threading is not required*/
      /* block of code which need to execute via thread */
  
      }
  }
  </code></pre>