I new in programming and I have this homework and is killing me. any body can told me what I am doing wrong.
import greenfoot.*; // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)
/**
* Write a description of class HomeworkWorld here.
*
* @author (me)
* @version (1)
*/
public class HomeworkWorld extends World
{
/**
* INSERT CODE BEOLW
* Add two instance variables that are of type String[]
* one will be an array of images
* one will be an array of sounds
* DO NOT INCLUDE THE FILE SUFFIX - add that through code later
*
* Note - each image is 55x55
*/
private String[] image = {"smiley1.png", "smiley2.png","smiley3.png","smiley4.png","smiley5.png"};;
private String[] soundfile = {"hello.wav","happy.wav","crying.wav","ohno.wav","raspberry.wav"};
/**
* Constructor for objects of class HomeworkWorld.
*
*/
public HomeworkWorld()
{
// Create a new world with 400x100 cells with a cell size of 1x1 pixels.
super(400, 100, 1);
}
/**
* INSERT CODE BELOW
* Write a "for" loop
* It should loop 5 times (you can either hard code 5 or use code)
* It should use the method addObject( Actor object, int x, int y) to add new Emoticons to your world.
* Note: concatinate the ".png" for images and ".wav" for the sounds
*
* Determine the x value using a mathematical calculation
* The y value can be either hard coded or calculated
*
*/ private void makeImages()
{
//make the Emoticon Images
for(int i = 1; i<5; i++)
{
Emoticon emoticon = new Emoticon();
addObject(newEmoticon(images[i]+".png",sound+".wav", 10*(i+60), 50));
}
}
}

