One more doubt.
In page 558,K&B book, there is diagramtic representation of collection interfaces and it class.
how are the array and Collections classes related to the other class in the diagram(i mean , with classes that implement the interfaces)
Is there any relation like extends ?? :?:
Joined: Oct 16, 2008
No there is no extends or implements between them.
Collections and Arrays utility classes has just methods, they do not have any properties.
Those methods take these collection classes like List, Set etc as parameters only, and performs operation on that and simply returns them to caller.