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
What are the differences between lov and list item?
How to rename a column in an existing table?
Which is faster join or subquery in oracle?
How to delete a column in an existing table in oracle?
Difference between the “verify” and “feedback” command?
How to use windows user to connect to the server?
How to convert characters to times in oracle?
What is partitioned table in Oracle?
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 ?
What are the benefits of ordbms?
Give the various rollback segment states.
Explain the use of owner option in exp command.
Explain a data segment?
What is merge in oracle?
Explain the blob datatype?