java rule for extends and implements
<p>While coding I created a class that <code>extends ArrayList&lt;&gt;</code> and <code>implements Iterable&lt;&gt;</code>. The code is :</p>

<pre><code>public class Testclass extends ArrayList&lt;Object&gt;, implements Iterable&lt;Object&gt; { }
</code></pre>

<p>Netbeans reported an error: </p>

<pre><code>'{' expected
</code></pre>

<p>How to prevents this?</p>
