What is an array and a vector? How they different from each
other?
Answer Posted / suhas
1)Array is a collection framework class.
Vector is a legacy class.
2)Array is not synchronised by default
Vector is Synchronised by default
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is early binding and late binding in java?
Who is the owner of java?
What is toarray method in java?
Is void a data type in java?
Does the order of public and static declaration matter in main method?
Can a class have multiple constructors?
What is the difference between final, finally and finalize() in java?
What are the main concepts of oops in java?
What is an infinite loop in java? Explain with an example.
How do you read a char in java?
How concurrent hashmap works?
Which collection is ordered in java?
What is thread safe java?
Why are arrays useful in java?
What is json parser in java?