CS 160



Today we have example of arrays as objects, passing arrays and we might get to 2D arrays.
First I'm going to go over the last program from the last lecture, it is an example similar to one in your book. Student Poll
The next program was an example of a enhanced for loop Enhanced for program
This program is an example of passing arrays to methods, passing Arrays are like passing objects, not like passing primitive data types like integers. Integers are pass by value, Integer arrays and objects are pass by reference. Passing Arrays Example Class
The next program is an example TWO-D arrays, you need a 2D array for this week's outlab. 2D arrays
The last program is an example of putting it all together to do something interesting (Hopefully). I'm going to go over this program in class, right now it's just a shell, but in the next lab you are going to use this program to manipulate images. It's going to be your own little personal Photoshop. Imp.java
(Imp = Image Processing).