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 multi level inheritance in java?
What are the basic concepts of OOPS in java?
Which of the following is not an isolation level in the JDBC
What is nested loop? What is dangling else condition in it?
How many bits is a word?
What is an exception? difference between Checked and Unchecked exception in Java
How big is a pointer?
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?
What does localhost mean?
What is the difference between the paint() and repaint() methods?
What are the restriction imposed on a static method or a static block of code?
Discuss different types of errors that generally occur while programming.
What is variable declaration and definition?
Are generics important java?
Can I uninstall java?