what is the difference between ArrayList and Vector
Answer Posted / mohammed salim
1. Arraylist is not synchronized while vector is.
2. Arraylist has no default size while vector has a default
size of 10.
Is This Answer Correct ? | 89 Yes | 20 No |
Post New Answer View All Answers
How can you write a loop indefinitely in java programming?
What is meant by object?
Is java good for beginners?
Can a private method of a superclass be declared within a subclass?
What method is used to specify a container's layout in java programming?
How is it possible for two string objects with identical values not to be equal under the == operator?
How arrays are stored in memory in java?
What is the use of predicate in java 8?
Can we have multiple classes in a single file?
What are the main concepts of oops in java?
Explain different states of a thread in java?
What data structures are used to perform recursion?
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
What are static methods?
What are the advantages and disadvantages of object cloning?