what is the difference between ArrayList and Vector
Answer Posted / vishu
In the above examples, need to change one thing. i.e
e. If you try to set v.ensureCapacity( >10), then
f. V.capacity();===20
if we put value between 11 to 20, the capacity will be 20,
after that it will increase if greater than 20.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Highest level event class of the event-delegation model?
Differentiate between == and equals().
What are the different ways of implementing thread? Which one is more advantageous?
What is extension method in java?
What happens when a thrown exception is not handled?
Is void a return type?
What is a lock or purpose of locks in java?
How do you convert an int to a double in java?
What is the largest data type in java?
What are the disadvantages of using inner classes?
is it possible to instantiate the math class?
Tell me a few examples of final classes defined in Java API?
What are the java ide's? Explain
Explain the use of volatile field modifier?
Do I need to import java.lang package any time? Why?