title: How to execute 1 command x times in java
body: <p>I'd like to ask how to execute 1 command multiple times</p>
  
  <p>for example this code</p>
  
  <pre><code>System.out.println("Hello World!");
  </code></pre>
  
  <p>I want to run it 500 times
  how do i do it ?</p>
  
  <p>Thank You</p>
  
  <p>Regards
  Wilhelmus</p>