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 is table mutation and how do you avoid it?
Is a class a subclass of itself?
What you mean by COM and DCOM?
What is the RMI and Socket?
Explain about thread synchronization inside a monitor?
Difference between DurableSubscription and non- DurableSubscription?
What value does readline() return when it has reached the end of a file?
Brief description about local interfaces?
Explain the advantages and disadvantages of detached objects.
Is it possible to stop the execution of a method before completion in a sessionbean?
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
How will you pass parameters in RMI? Why do you serialize?
What are the purpose of introspection?
Name the class that is used to bind the server object with RMI Registry?
What are the types of scaling?