View Single Post
  #1 (permalink)  
Old 01-31-2008, 03:04 PM
bugger bugger is offline
Senior Member
 
Join Date: Nov 2007
Posts: 111
bugger is on a distinguished road
Declaring an ArrayList
HI,

Please review the code below:

Code:
Collection <String>arrayList1 = new ArrayList<String> (); ArrayList <String>arrayList2 = new ArrayList<String> ();
What is the real difference between arrayList1 and arrayList2? Both works the same ????

Cheers.
Reply With Quote
Sponsored Links