Declaring
and defining an array
Note the following
important points about declaring and defining arrays:
-
Declaring
an array is stating that an array exists,
and that it has a particular name and data type
-
Defining
an array is making an array available
of a particular size (a particular dimension)
-
The distinction
is important, particularly when arrays are passed between methods.
RITSEC - Global Campus
Copyright © 1999 RITSEC- Middlesex
University. All rights reserved.
webmaster@globalcampus.com.eg
|