Z
Zhao
I noticed that java.util.Set extends java.util.Collection and
all the abstract methods of Collection is redeclare in java.util.Set.
Why? It is not necessary since java.util.Set inheritant all this methods
already, why do we need to redeclare them? Similar codes appear in other
Collection interfaces like List.
thanks
Zhao
all the abstract methods of Collection is redeclare in java.util.Set.
Why? It is not necessary since java.util.Set inheritant all this methods
already, why do we need to redeclare them? Similar codes appear in other
Collection interfaces like List.
thanks
Zhao