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
Can we convert integer to string in java?
What is a Null object?
How do you call a reference in java?
Can we have any code between try and catch blocks?
What are the methods used to implement for the key object in the hash map?
If we don’t want some of the fields not to serialize how to do that?
How to instantiate member inner class?
How to sort a collection of custom Objects in Java?
Define immutable object?
What does escaping a character mean?
What are structs in java?
Explain java coding standards for constants?
What is e in java?
How a string is stored in memory?
What is function declaration?