priv prive wrote: why not just say LinkedList<String> l = new LinkedList<String>();
When you do things right, people won't be sure you've done anything at all.
Janeice DelVecchio wrote:and you can do animal things to all of them.
Because that ties you to a specific List implementation, even if the implementation doesn't matter.
jerry washington wrote:but I dont understand the purpose of this? or what is this useful for?
David Newton wrote:I'll remind you again about the JavaRanch naming policy. Please change your display name to conform with this policy. Thanks!
I can't take it! You are too smart for me! Here is the tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|