Difference between Array and vector?

Answer Posted / janet

Array is a set of related data type and static where as
vector is a growable array of objects and dynamic.

Is This Answer Correct ?    70 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between abstract class and interface?

768


Is c better than java?

745


Can java arraylist hold different types?

741


What is a “stateless” protocol ?

767


What is a consumer in java?

792


What is data member in java?

694


What is string variable?

814


What is the collection interface?

822


can any body body expalin best definitions & best real time exaples for opps concepts.

2048


What is == and === in javascript?

778


How are observer and observable used in java programming?

770


How do you make an arraylist empty in java?

708


Can we override compareto method?

730


What is wrapper class example?

751


Write code to implement bubble sort in java?

788