Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between a vector and an Array? (Java)

Answer Posted / shiv

Array is not synchronized

Vector is synchronized class

By default array are type safe

To make a vector class type safe we need to implement
generics

Once Array size defined it will be fixed for the rest of
its life

Vector can grow dynamically


Array pass no instance of test with Collection interface

Vector pass as it extends List which is a sub class of
Collection.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between lov and list item?

987


How to rename a column in an existing table?

970


Which is faster join or subquery in oracle?

930


How to delete a column in an existing table in oracle?

1008


Difference between the “verify” and “feedback” command?

1308


How to use windows user to connect to the server?

933


How to convert characters to times in oracle?

953


What is partitioned table in Oracle?

1101


For a field in a repeating frame, can the source come from the column which does not exist in the data group which forms the base for the frame ?

1964


What are the benefits of ordbms?

1022


Give the various rollback segment states.

998


Explain the use of owner option in exp command.

989


Explain a data segment?

1010


What is merge in oracle?

994


Explain the blob datatype?

1011