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
How to insert multiple rows with one insert statement in oracle?
What language does oracle use?
What is the difference difference between $ORACLE_HOME and $ORACLE_BASE.
How do I uninstall oracle client from windows?
What is a private synonym?
How to define default values for formal parameters?
How to convert a string to a date in oracle database?
How to use regular expression in pattern match conditions in oracle?
What is a trigger and what are its types in oracle?
How to use "if" statements on multiple conditions?
List the parts of a database trigger.
What is the usage of merge statement?
State some uses of redo log files?
What are the varoius components of physical database structure of oracle database?
What is a read only transaction in oracle?