Differentiation between a vector and an array, JAVA Programming

Assignment Help:

Differentiation between a Vector and an array. Explain in Brief about the pros and cons of both?


Related Discussions:- Differentiation between a vector and an array

What is role of action class, An Action Class performs a role of an adapter...

An Action Class performs a role of an adapter among the contents of an incoming HTTP request and the corresponding business logic that should be implemented to process this request

Java server faces - eagro portal project, eAgro Portal Project: Techno...

eAgro Portal Project: Technology Used: Java Server Faces, JSR 168 Specification, Websphere Portal Server5.0, DB2 database And Rational Application Developer, Jasper Report Too

Thread, create thread without extending anything

create thread without extending anything

Array to store 10messages of type String., Ask1. Storing the Array: Write a...

Ask1. Storing the Array: Write an application that uses an Array to store 10messages of type String. You will store this Array with 10 messages of your choosing. For example, a mes

Pebbles merchant, There is a pebble merchant. He sells the pebbles, that ar...

There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that

List the precedence table, List the precedence table? At last let's add...

List the precedence table? At last let's add the && , || , & , | and ? operators to the precedence table *, /, % Multiplicative operators +, - Additi

Jumps in loops, explain jumps in loops and explain labelled loops

explain jumps in loops and explain labelled loops

Javaserver faces navigation model, What is JavaServer Faces navigation mode...

What is JavaServer Faces navigation model? Ans) A mechanism for describing the sequence in which pages in a JavaServer Faces application are shown.

Explain the role of remote interface in rmi, The Remote interface serves to...

The Remote interface serves to recognize interfaces whose methods may be invoked from a non-local virtual machine. Any object that is a remote object must directly or indirectly ex

12/3/2013 1:47:01 AM

A vector container class generalizes the concept of an ordinary C array. As an array, a vector is an indexed data structure, with index values that range starts from 0 to one less than the number of elements covered in the structure. Like an array, values are most commonly assigned to and extracted from the vector using a subscript operator. However, vector differs from an array in the following important respects:

The size of the vector can be changed dynamically. New elements may be added on to the end of a vector, or into the middle. It is important to note, as these abilities are provided; insertion into the middle of a vector is not as capable as insertion into the middle of a list.

 

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd