The prime directive Help please

// Import statement:
import java.util.ArrayList;
class PrimeDirective {
  
  // Add your methods here:
  public boolean isPrime(int numbers){
    if (numbers == 2){
      return true; 
    }
    else if (numbers < 2){
      return false;
    }
    for (int i = 2; i < numbers; i++){
      if (numbers % i == 0){
        return false;
      }
      
    }return true; 

  }

 public ArrayList<Integer> onlyPrimes(int[] numbers){
    ArrayList<Integer> primes = new ArrayList<Interger>();

    for (int number : numbers){
      if (isPrime(number)){
        primes.add(number);
      }
     }
      return primes;
    }

  }
  
  public static void main(String[] args) {

    PrimeDirective pd = new PrimeDirective();
    int[] numbers = {6, 29, 28, 33, 11, 100, 101, 43, 89};

    System.out.println(pd.onlyPrimes(numbers));
    


  }  

the terminal keeps saying there is something wrong with the main() can y’all let me know what’s wrong?

There’s your culprit. Did it describe the error?