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

Why java is call by value?

793


What is the use of bufferedreader?

770


Explain the inheritance?

775


How many types of variables are there?

903


What is exception in java?

770


What is string in java with example?

712


Which is the best approach for creating thread ?

960


What does jenkins do?

690


Can we modify the throws clause of the superclass method while overriding it in the subclass?

793


Explain about automatic type conversion in java?

838


What is the r character?

814


What do you mean by Function Overloading in java?

946


What do you mean by a JVM?

839


What is the locale class in java programming?

766


How is a structure different from array ?

803