PPT Slide
<elementsType>[ ] <arrayIDer>
= new <elementsType>[<size>];
e.g.: to declare an array of ten ints
for storing numerical grades...
int[ ] iGradeArray = new int[10];
using parentheses, not brackets, e.g.,
int[ ] iGradeArray = new int(10);
- Same concepts you know from Pseudocode
- A few differences in implementation