Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

diff vector arraylist

Answer Posted / veerendra kumar

Here these two are belongs to Collections which are
in(java.util package),Diff is:
1.Vector:this class belongs to legasy collection framework
ArrayList:belongs to new Collection framework
2. Vector:it contains key&value pair
like:Vector v=new Vector();
v.add(0,"2");
v.add(1,"5");
ArrayList:it contains value only
3.Vector:it is Synchronized format
ArrayList:not synchronized

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do I get a duplicate name error when loading a jar file?

1152


Explain the difference between object state and behavior?

1054


which book is better for jdbc ,servlets and jsp

2106


What is mdb and what is the special feature of that?

1057


Why is actionform a base class rather than an interface?

1066


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

2209


What is ioc concept & explain it?

1087


Explain phantom read?

2232


What is ioc concept?

1207


Why won’t the jvm terminate when I close all the application windows?

1247


What is Stream Tokenizer?

2260


Name three subclasses of the component class?

1111


What is a tasks priority and how is it used in scheduling?

1061


what are RemoteObjects?

2744


Where can I ask questions and make suggestions about seam?

1058