what is difference between vector and arraylist?.
Answer Posted / srinu
vector:-
1)Vector is a synchronized.
2)These are Thread safe.
3)performance slow
4)it implements
serializible,list,collection,iterable,Randomaccess,clonable
interfaces.
5)vector is optimum storage management.
Arraylist:-
1)ArrayList is not synchronized.
2)these are not safe.
3)performance is high.
4)it implements
serializible,list,collection,iterable,Randomaccess,clonable
interfaces.
5)ArrayList is not a optimum storage management
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
please mail me the interview question based on java/j2ee
What is iterator in the java collections framework? : java collections
Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com
What is the Spring2.5 MVC Navigation flow?
What is java collection? : java collections
What are the interfaces in java collections? : java collections
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
What is the difference between comparable and comparator in java.util pkg?
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.
What are the different types of classes implemented in the set interfaces? : java collections
What are the types of the main implementing classes in the map interfaces? : java collections
What are the different types of features of the java collections framework? : java collections
What is the use of the list interface in the java collection? : java collections
What is the use of hashcode in java ?