Variables are created to store data that you either want to manipulate or use.
Arrays is basically a group of same type of data.
i.e. an array could be a group of numbers, or images as your project needs.
For you project as an example, you will want an array of your pictures.
Code
Picture[] pictures;
Once it is set up, you need to initialize it with 4 pictures.
Now to use it, the project already tells you when and how.
Quote
To do this, the showArtCollection
method, which you add to the House class, should make (instantiate with new ArtWall ) one
ArtWall , copy four Pictures into that ArtWall, and display the window by calling show( )
on that ArtWall. P
So you will want to go through each picture in your picture array and pass it in the the ArtWall object you create.
(Look up for loops, they are easy)
This post was edited by DirtyRasa on May 2 2013 06:02am