title: Static Block in Java
body: <p>I was looking over some code the other day and I came across:</p>
  
  <pre><code>static {
      ...
  }
  </code></pre>
  
  <p>Coming from C++, I had no idea why that was there. Its not an error because the code compiled fine. What is this "static" block of code?</p>