1 |
An Array is declared as:
|
2 |
and created by:
|
3 |
or concisely:
|
4 | Subscripts are range checked in runtime and so vec[-1] and vec[128] will generate exceptions. |
5 |
Array length can be extracted via the length instance variable, e.g.
|
6 |
Arrays of arbitrary objects can be constructed,
|
7 |
Arrays can have dynamic sizing
|