Deconstruction of this array
g[0] is 90
g[1] is 85
g[2] is 40
g[3] is 89
g[4] is 12
g.length is the number of elements in the array, g.length is 5
In “g[4]”, 4 is the index or subscript
Previous slide
Next slide
Back to first slide
View graphic version