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
What is callable java?
What is consumer in java?
How many bits is a float?
What is this keyword used for?
Why is java called the platform independent programming language?
What is the difference between I ++ and ++ I in java?
What is string args [] in java?
What is the basic of java?
What is singleton service?
What are constants?
What is the difference between the final method and abstract method?
What is jagged array in java?
How hashmap works in java?
What is meant by main method?
Why should I use abstract class?