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
How do I find jre path in windows?
What is java collection? : java collections
What is an algorithm in java collection framework? : java collections
What are the interfaces in java collections? : java collections
What are the types of java collections? : java collections
What are the types of interface used in the java collections? : java collections
What is the Spring2.5 MVC Navigation flow?
Should we create system software ( e.g operating system ) in java ?
What are maps interfaces in the java collections? : java collections
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
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 use of the list interface in the java collection? : java collections
my interviewer asked me what technical specification you used how to answer that question
What is the use of hashcode in java ?
What is the difference between comparable and comparator in java.util pkg?