title: How to execute a static block for multiple times in java
body: <p>I have given a task to execute static block for every 20 seconds. I have a class that consists of a static block.</p>
  
  <pre><code>public class Hello{
        static{
          System.out.println("helloo...");
        }
  }
  </code></pre>
  
  <p>I know that static block executes when the class is loaded.</p>
  
  <p>But i want to know is there any way to execute the static block for multiple times and how?</p>