Difference between Array and vector?

Answer Posted / nikhil shah

Ans 1: Vector and ArrayList are growable or shrinkable
where as Array is not.

Ans 2: Array is not a primitive data type in java but it is
referenced data type.

Ans 3:Vector is implemented from list Interface

Is This Answer Correct ?    52 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the basic control structures?

720


How to convert string to char and vice versa?

736


Can you instantiate the math class?

817


What is default locale java?

791


What is the difference between arraylist and hashset in java?

761


What is the meaning of 3 dots in java?

882


What is string made of?

734


What are static variables and functions?

831


What is :: operator in java?

706


What are the steps involved to create a bean?

886


What is the difference between instanceof and isinstance?

761


What is proper subset?

758


What modifiers may be used with an inner class that is a member of an outer class in java programming?

767


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

736


What is callablestatement? How you can call stored procedure to pass in parameter?

758