10.6. Glossary

vector:

A named collection of values, where all the values have the same type, and each value is identified by an index.

element:

One of the values in a vector. The [] operator selects elements of a vector.

index:

An integer variable or value used to indicate an element of a vector.

constructor:

A special function that creates a new object and initializes its instance variables.

You have attempted 1 of 2 activities on this page