Anonymous code blocks in Java
<p>Are there any practical uses of anonymous code blocks in Java?</p>

<pre><code>public static void main(String[] args) {
    // in
    {
        // out
    }
}
</code></pre>

<p>Please note that this is not about <em>named</em> blocks, i.e.</p>

<pre><code>name: { 
     if ( /* something */ ) 
         break name;
}
</code></pre>

<p>.</p>
