Cannot find symbol error Netbeans
<p>Hi i am new to Java and i am writting a simple programm that will emulate a diving competition. I use NetBeans and i cannot find out why it gives me this error.
The code is this :</p>

<pre><code>package agoneskataduseon;
import java.util.Scanner;

public class AgonesKataduseon {

 public static void main(String[] args) {
      Scanner input = new Scanner(System.in);
      int numAth, numJud, numDiv;
      System.out.print("Give the number of the athletes in the competition : ");
      numAth = input.nextInt();
      System.out.print("Give the number of the judges : ");
      numJud = input.nextInt();
      System.out.print("Give the numbe rof dives : ");
      numDiv = input.nextInt();
      DivingCompetition game = new Diving Competition(numAth, numJud, numDiv);
  }
}
</code></pre>

<p>The  DivingCompetition class(it is not finished) : </p>

<pre><code>import java.util.Scanner;
public class DivingCompetition {
    int numa;
    int numj;
    int numd;
    Athlete[] arr1 = new Athlete[12];
    Athlete[] arr2 = new Athlete[12];

    public DivingCompetition(int numAthletes, int numJudges, int numDives){
        numa = numAthletes;
        numj = numJudges;
        numd = numDives;
    }

    public void readAthletesName(){
        String nam;
        int i=0;
        Scanner input = new Scanner(System.in);
        while(i &lt; numa){
            System.out.print("Give the name of athlete num "+(i+1)+" : ");
            nam = input.nextLine();
            arr1[i] = new Athlete(nam);
            i++;
        }
    }

    public void runCompetition(){
        int i=0;
        Dive dv = new Dive(numj);
        while(i&lt;12){
           arr1[i].addDive(dv);
        }
   }
}
</code></pre>

<p>And for the record the Athlete class:</p>

<pre><code>public class Athlete {
        String names;
        Dive[] arrayd = new Dive[6]; 
        double fullScore;
        int point;

    public Athlete(String name){
        names = name;
        fullScore = 0;
        point = 0;
    }

    public void addDive(Dive dive){
        arrayd[point] = dive;
        fullScore = fullScore + arrayd[point].computeScore();
        point++;
    }
}
</code></pre>

<p>I would also give you the Dive class but i dont see the point of doing that</p>

<p>NetBeans is giving me an error in the main function :
Cannot find symbol
        Symbol: class DivingCompetition
        location: class AgonesKataduseon</p>

<p>And my question is why it gives me this error?
This problem also happens if i try to make an object of Athlete or Dive inside the main function</p>