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.
-
Q-1: Match the vocabulary word with its definition.
Try again!
- 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.
- 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 of activities on this page