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
Why do I get a duplicate name error when loading a jar file?
Explain the difference between object state and behavior?
which book is better for jdbc ,servlets and jsp
What is mdb and what is the special feature of that?
Why is actionform a base class rather than an interface?
If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?
What is ioc concept & explain it?
Explain phantom read?
What is ioc concept?
Why won’t the jvm terminate when I close all the application windows?
What is Stream Tokenizer?
Name three subclasses of the component class?
What is a tasks priority and how is it used in scheduling?
what are RemoteObjects?
Where can I ask questions and make suggestions about seam?