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
In not less than 100 words what's the main difference between Rolap and Molap in ORACLE ?
How to bring a tablespace online?
What is procedure overloading in oracle?
hi friends i completed b.com 2004.i have 3y accounting exp. in manufacturing company.now i have completed oracle finance.pls suggest me how will get job in oracle.can i get job in oracle.
Explain an integrity constrains?
What is the difference between I and G in Oracle?
does the query needs a hint to access a materialized view?
What is an oracle?
How do I find the database name in oracle?
What happens to the indexes if a table is recovered?
How many data types are supported?
How to drop a tablespace?
How do you store pictures in a database?
Is oracle the best database?
What is the database name in oracle?