Differentiate Vector and ArrayList?
Answer Posted / v.kannan
Vector is synchronized where as
Arraylist is not synchronized.
In Array List there is no guarantee elements will be in
order(It will vary System to System)
| Is This Answer Correct ? | 2 Yes | 6 No |
Post New Answer View All Answers
Can we access the non-final local variable, inside the local inner class?
What are keywords and reserved words in java?
Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?
What is reverse function?
What is difference between float and double?
What is anti pattern in programming?
Explain the difference between an object-oriented programming language and object-based programming language?
Can we call thread start () twice?
What are the differences between processes and threads?
How do you generate random numbers in java?
Is string a class?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
Can a private method of a superclass be declared within a subclass?
What is void in java?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?