A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Interface/Implemented class reference
Joined: Aug 05, 2009
Nov 17, 2009 23:00:31
Could you please elaborate in depth for the below code with suitable example?
List l = new ArrayList(); // Why GOOD.
ArrayList l = new ArrayList(); // Why BAD.
I saw many of explanation for the above code, but i didn't find any example for supporting #1) code.
Please explain me in depth...
Joined: Apr 12, 2009
Nov 17, 2009 23:54:40
Search for 'programming to an interface'.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Interface/Implemented class reference
Why in collection Objects are assigned to super reference
error please help
Vector and Array LIst
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014