class ArrayHelper extends Object
{
    public void PrintArray( ???? )
    {
        // Your code goes here - use
        // the "process all elements" pattern, where the work
        // to be done is printing each element
    }
}

public class ICE_18_PrintArray extends Object
{
    public static void main(String[] args)
    {
        ArrayHelper ah = new ArrayHelper();
    
        // Now set up the array stuff, which is more interesting:
        int [] shortArray = new int[4];
        int i;
        for(i = 0; i < shortArray.length; i++)
        {
            shortArray[i] = (i + 1) * 2;
        }
        
        int [] longArray = new int[14];
        for(i = 0; i < longArray.length; i++)
        {
            longArray[i] = (i + 1) * 3;
        }
        ah.PrintArray(shortArray);
        // next, print out the long array
    }
}