 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
n |
A list
is a container that holds a finite
|
|
|
sequence of
values all of the same type.
|
|
|
n |
List properties:
|
|
|
|
u |
A list is
finite, with zero or more elements.
|
|
|
u |
A list is a
sequence.
|
|
|
|
u |
A list is
homogeneous.
|
|
|
n |
container:
an object whose purpose is
|
|
|
to contain other
objects.
|
|
|
n |
list:
a container in which the elements
|
|
|
are kept in
sequence.
|
|