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
How would you create a button with rounded edges?
What is prototype?
What are local interfaces? Describe.
Is there a guarantee of uniqueness for entity beans?
What are the services in RMI ?
What is the relationship between local interfaces and container-managed relationships?
What are the difference between RMI and CORBA?
Why won’t the jvm terminate when I close all the application windows?
what is meant by JRMP?
Can we sent objects using Sockets?
What is the relationship between the canvas class and the graphics class?
What are the different class loaders used by jvm?
What state does a thread enter when it terminates its processing?
What are the sequence of steps to write pub or sub model kind of application?
Why does the tag url-encode javascript and mailto links?