error with method, .class missing, OR int cannot be dereferenced
<p>I feel like I am really close to getting what I want accomplished with this class -- but the method getNumbers continues to error -- advising I need .class where i say if numbers[i].isValid(i) -- and if I change it I get "int cannot be dereferenced." Part of my assignment is showing that I can use multiple methods to accomplish something and I know I'm definitely shaky on it. Any advice on that method would be appreciated. It is trying to populate an array and verify each number is between 0 and 59 and also that each number is not a repeating number.</p>

<pre><code>import java.util.*;

 public class Luck //edited
{
public int numbers[];

public Luck()
{
    numbers = new int[4];
}

public void greeting()
{
    System.out.println("Please enter 5 numbers, each &gt; 0 and &lt; 59.");
}

public void getNumbers()
{
Scanner reader = new Scanner(System.in);
    int count = 0;
    int[] numbers = new int[4];

    while(count&lt;5)
{
    System.out.println("Please enter a number &gt; 0  and &lt; 59");
    for(int i=0; i&lt;5; i++)
    {
        numbers[i] = reader.nextInt();
        if((isValid(numbers[i]) || isNotRepeat(numbers[]))
        {
            count++;
        System.out.println("Number " + count + " is " + numbers[j]);
        }//end second if
        else TryAnother();
        //else TryAgain();
     }//end for
}//end while
}//end method


     public boolean isNotRepeat(int numbers[]) //edited
 {
     for(int i=0; i&lt; 5; i++)
     {
         for(int j=0; j&lt; 5; j++)
         {
         if (i == j)
         return false;

         else return true;
        }//end for
      }//end for
    }


     public boolean isValid (int number)
     {
         number = newNumber;
         if (newNumber &lt; 0 || newNumber &gt; 59)

         return false;
     }



    public void showNumbers(int numbers[])
    {
        int count = 0;
        //int numbers[] = new int[4];
        //int i;

         for(int i=0; i &lt; 5; i++)
         {
         System.out.println("Number " + count + 1 + " is " + numbers[0]);
        }
    }

    public void goodLuck()
    {
        System.out.println("Good luck!");
    }

 }//end class
</code></pre>
