Hi all, Somebody can explain me how that work?: interface List extends Collection ... public abstract class AbstractList extends AbstractCollection implements List ... public class ArrayList extends AbstractList implements List, Cloneable, Serializable ... why ArrayList class declare the implements keyword, don't inherit from AbstractList?
Thanks for all
Thomas Paul
mister krabs
Ranch Hand
Joined: May 05, 2000
Posts: 13974
posted
0
ArrayList does inherit the List interface but sometimes its nicer to write these things out. That makes it much easier to follow.