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 a bufferedreader?
What is string and its types?
How many bytes is a string?
How do you clear an arraylist in java?
What is arrays sort in java?
Can we use string in switch case in java?
Can inner class have constructor?
What about method local inner classes or local inner classes in java?
What is return keyword in java?
what is the difference between Object Based Language and Object Oriented Language?
What is module in oop?
What is an example of procedure?
How do weakhashmap works?
Can a static class have a constructor?
What does next mean in java?