SLIDE 1
Arrays
1
Arrays 1 An array is a collection of values of the same type - - PowerPoint PPT Presentation
Arrays 1 An array is a collection of values of the same type stored consecutively in memory. int arr[] = new int[5]; This declaration has 2 parts: the stuff on the right of the assignment the stuff on the left Lets start with the
1
2
3
4
5
6
0 1 2 3 4
7
8
to receive and array.
9
10
11