Answer Posted / chandra
1) Arraylist is not synchronised while vector is
synchronised.
2) ArrayList doesn’t have a constructor for specifying the
incremental capacity, where as Vector has a constructor to
specify the initial capacity and incremental capacity.
3) Vector is serialized but arraylist is not.
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
How to pass parameters in RMI?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
When a thread blocks on i/o, what state does it enter?
Explain the steps in details to load the server object dynamically?
Name three subclasses of the component class?
What is prototype?
Why do threads block on i/o?
What is the difference between the font and fontmetrics classes?
what are getters and setters in Java with examples?
cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..
What is the highest-level event class of the event-delegation model?
Should synchronization primitives be used on bean methods?
What are various types of class loaders used by jvm?
Write a singleton program?
the same information whether it will connect to the database or it will be used previous information?