previous |
start |
next .... [Slide 44] ....
Arrays
- Drawback of array lists: can't store numbers
- Arrays can store objects of any type, but their length is
fixed
int[] numbers = new int[10];
- Array variable is a reference
previous |
start |
next .... [Slide 44] ....