java rule for extends and implements

Posted by iamrohitbanga on Stack Overflow See other posts from Stack Overflow or by iamrohitbanga
Published on 2010-03-14T05:22:45Z Indexed on 2010/03/14 5:25 UTC
Read the original article Hit count: 204

Filed under:
|

While coding I created a class that extended ArrayList<> and implemented Iterator<>. Obviously Netbeans reported an error, because ArrayList itself implements Iterator.

What rule of Java Specification prevents this?

© Stack Overflow or respective owner

Related posts about java

Related posts about java-specification