Home Segments Top Top Previous Next

556: Mainline

An instance of the Vector class, also known as a vector by the convention mentioned in Segment 167, contains elements that are stored and retrieved in several ways. For example, you can store and retrieve the elements of a vector using an integer index, just as you can store and retrieve the elements of an array.