what is the difference between ArrayList and Vector
Answer Posted / mohammed salim
1. Arraylist is not synchronized while vector is.
2. Arraylist has no default size while vector has a default
size of 10.
Is This Answer Correct ? | 89 Yes | 20 No |
Post New Answer View All Answers
When will you define a method as static?
What is an object’s lock and which object’s have locks?
whatis Home interface and Remoteinterface? with example?
what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread
What is difference between path and classpath in java?
Why java applets are more useful for intranets as compared to internet?
When should I use a singleton?
What is string and its types?
What is meant by oops concept in java?
Which programming language is most secure?
What causes memory leaks in java?
What is variable argument in java?
What are the advantages of exception handling in java?
What is a ternary operator in java? What is an interface?
What is the difference between static and non-static variables in java programming?