what is difference between vector and arraylist?.
Answer Posted / arjun kumar
If we want to arrange a collection of objects into an other object then we will use either ArrayList or Vector. When we use these classes all the objects that are placed in it will be stored sequentially one after the other.
ArrayList : If we want to store same type of objects then we will use ArrayList class.
Vector : If we want to store different type of objects then we will use Vector class.
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
can u draw class/object diagram for ATM
What is the use of the list interface in the java collection? : java collections
What are the interfaces in java collections? : java collections
Which sorting algorithm is used by collections.sort() in java ?
What is the enumerator of the java collection framework? : java collections
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
What is iterator in the java collections framework? : java collections
What are the types of the main implementing classes in the map interfaces? : java collections
What are the types of java collections? : java collections
What are the classes in the java collection framework? : java collections
What are the main classes of the list interfaces? : 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 java collection? : java collections
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
What is the Spring2.5 MVC Navigation flow?