Accessing arrays
Use square brackets with index to access array item, e.g.
p[0] = new Person();
s[4] = “Isobel”;
f[1][1] = “Eloise”;
Lets look again at the parameters to the main method...
Previous slide
Next slide
Back to first slide
View graphic version