Exams Attended

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Core Java Interview Questions and Answers

Question: What is the difference between a Vector and an Array. Discuss the advantages and disadvantages of both?
Answer: Vector can contain objects of different types whereas array can contain objects only of a single type.
- Vector can expand at run-time, while array length is fixed.
- Vector methods are synchronized while Array methods are not
Is it helpful? Yes No

Most helpful rated by users:

©2022 WithoutBook