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
Why java is used everywhere?
What happens if we don’t override run method ?
What are different types of encoding?
What is parse method?
Which graphs are functions?
What is thread safe in java?
what invokes a threads run() method? : Java thread
How are multiple inheritances done in Java?
Can a class have multiple subclasses?
What does java edition mean?
What does math floor () do?
When should a function throw an exception?
What is one third plus one third as a fraction?
What is Java Annotations?
Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.