diff vector arraylist

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


Please Help Members By Posting Answers For Below Questions

What are JTA/JTS and how they used by client?

1979


Is the session factory thread safe?

939


How are the elements of a borderlayout organized?

865


When a thread blocks on i/o?

829


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

816


What is glasgow?

818


What are the services in RMI ?

2109


What is meant by method chaining?

919


What are local interfaces? Describe.

923


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?

2159


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!

1618


Define aop(assepct oriented programing)?

930


How would you reatach detached objects to a session when the same object has already been loaded into the session?

961


Why a client should be multithreading? Explain.

845


What are externizable interface?

824