what is the diff b/w arraylist and vector?
Answer Posted / shweta dhankani
Above answer is wrong..
Infact it is opposite..
Vector methods are synchronized and are thread safe.
Whereas Arraylist methods are not synchronized and thread safe.
| Is This Answer Correct ? | 30 Yes | 0 No |
Post New Answer View All Answers
what are Hostile Applets?
explain autoboxing in java?
how to create daemon thread in java?
What is the advantage of OOP in java?
Is string a data type in java?
Can an interface be final?
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
What is the difference between class & structure?
How do you clear a list in java?
What are actual parameters?
What is ellipsis in java?
Objects or references which of them gets garbage collected?
What is lifetime variable?
What is package private scope in java?
Write a program to print 15 random numbers using foreach of java 8?