what is the difference between ArrayList and Vector
Answer Posted / thoi
Arraylist also has the initial capacity as 10.
Please check the following code in ArrayList class:
public ArrayList() {
this(10);
}
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is the difference between iterator and enumeration ?
What are implicit objects in java?
Write a program to print all permutations of string?
What is the purpose of skeleton and stub?
What do you mean by platform independence?
What is regex java?
Is a boolean 1 bit?
What is keyword auto for?
Explain exception chaining in java?
What are advantages and disadvantages of OOPs?
What is the difference between instanceof and isinstance?
What's the purpose of static methods and static variables?
Can you make a constructor final in Java?
What is methods and methodology?
Explain importance of inheritance in java?