Contact PSVM   (Q & A)  |  Notes Below   Audio  |  [toc]   [prev] Slide 6 of 17 [next]
SIJLesson22 Slide06
1, 2, 3, 4, 5, [6 (top)], 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, [Lab]

Notes for Slide 06
Note that the type of the scores variable is int[]
(verbally, "int array")
which is five characters without any spaces
i
n
t
[
]
It is important not to put any spaces after the
word int so as not to get confused with the int type
which is similar to but different than the int[] type.
After creating the scores variable with this statement, the
value in scores is null. That is, you have not yet run
a statement to specify how many elements are in the array.


1, 2, 3, 4, 5, [6 (top)], 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, [Lab]