what is the difference between ArrayList and Vector

Answer Posted / narasimha

i would like to add a new point to above answers.
we can specify the increment size with the vector and with
array list we cannot

Is This Answer Correct ?    37 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is stringbuffer thread safe?

570


What is substring in java?

618


why are there separate wait and sleep methods? : Java thread

578


What is the declaration statement?

517


What are the differences between Java 1.0 and Java 2.0?

1681






What is java in simple terms?

566


What does it mean that strings are immutable?

577


Explain all java features with real time examples

1212


Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?

597


In java, how we can disallow serialization of variables?

558


What is the function of static in java?

544


What is difference between static class and singleton pattern?

482


Is java a utf 8 string?

534


What is a boolean field?

531


Why object class is super class for every class in java?

579