File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
(); // Why GOOD.
l = new
(); // 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'.
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-2015