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
comparison of List & ArrayList
Joined: Mar 11, 2010
Dec 24, 2010 05:11:49
what is the difference between the two :
List list= new
list = new
thanks in advace!
Joined: Sep 08, 2007
Dec 24, 2010 05:22:52
It is something called Coding to the interface.
With the first- We could assign instances of anything which implements List-
, Vector to the list reference
In the second case- We can assign instances of
Mohamed Sanaulla |
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: comparison of List & ArrayList
size of the list
Collections.copy method for lists ? how it works
basic question about ArrayList
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013