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
How do you control extraneous variables?
Why is java multithreaded?
How do you create a bulleted list?
Why isn’t there operator overloading?
What are some examples of variable costs?
What is treemap in java?
What is immutable in java?
What is empty string literal in java?
what is instanceof operator used in java?
Why we go for collections in java?
What is a singleton in genetics?
Explain an algorithm to find depth of a binary tree.
How many types of design patterns are there?
What is a function in programming?
What is the java reflection api? Why it’s so important to have?