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
What are the sequence of steps to write pub or sub model kind of application?
What is JTS?
What are the difference between RMI and CORBA?
Write a singleton program?
What is difference between object state and behavior?
why static class in java
Name the eight primitive java types.
What is a modular application?
What is the relationship between local interfaces and container-managed relationships?
How would you detect a keypress in a jcombobox?
Why do I get a duplicate name error when loading a jar file?
What’s jboss cache in short?
How will you pass parameters in RMI? Why do you serialize?
What is the infobus?
Difference between hashmap and hashtable?