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
Explain view?
In Oracle Clinical 4.5.0, can the VIEW_TEMPLATE_ID column in DATA_EXTRACT_VIEWS table contain NULL value?
What is the usage of synonyms?
How to start an oracle instance?
Explain the truncate in oracle?
Explain the use of compress option in exp command.
How to use "startup" command to start default instance?
What do you mean by a deadlock?
Differentiate between pre-select and pre-query?
Explain coalesce function?
How to define an oracle cursor variable?
How to best split csv strings in oracle 9i?
Explain the difference between sap and oracle?
Point out the difference between user tables and data dictionary?
How to list all tables in your schema?