| Author |
Diffrence between declaring List lst = new ArrayList() and ..
|
ravindra patil
Ranch Hand
Joined: Sep 01, 2006
Posts: 196
|
|
HI
Want to know the diffence between
declaring
List lst = new ArrayList();
ArrayList = new ArrayList();
Which is good to use and why ?
|
 |
Ankit Garg
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9189
|
|
|
The 1st one is preferred. Read this or this...
|
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
|
 |
Dhan Kumar
Greenhorn
Joined: Aug 03, 2009
Posts: 22
|
|
Actually liked the links given by Ankit...thanks a lot.
|
Dhan
SCJP - Here for Knowledge..
|
 |
 |
|
|
subject: Diffrence between declaring List lst = new ArrayList() and ..
|
|
|