How to stack getClass()
<p>My question is why does the first line work but not the second:</p>

<pre><code>Class&lt;? extends Class&gt; c1                  = (new Object()).getClass().getClass();
Class&lt;? extends Class&lt;? extends Class&gt;&gt; c2 = (new Object()).getClass().getClass().getClass();
</code></pre>
