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
What are JTA/JTS and how they used by client?
Is the session factory thread safe?
How are the elements of a borderlayout organized?
When a thread blocks on i/o?
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
What is glasgow?
What are the services in RMI ?
What is meant by method chaining?
What are local interfaces? Describe.
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!
Define aop(assepct oriented programing)?
How would you reatach detached objects to a session when the same object has already been loaded into the session?
Why a client should be multithreading? Explain.
What are externizable interface?