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


Please Help Members By Posting Answers For Below Questions

What is a bufferedreader?

529


What is string and its types?

613


How many bytes is a string?

568


How do you clear an arraylist in java?

502


What is arrays sort in java?

577






Can we use string in switch case in java?

574


Can inner class have constructor?

552


What about method local inner classes or local inner classes in java?

559


What is return keyword in java?

568


what is the difference between Object Based Language and Object Oriented Language?

606


What is module in oop?

571


What is an example of procedure?

517


How do weakhashmap works?

593


Can a static class have a constructor?

523


What does next mean in java?

540