I am getting a error saying that cannot make a static reference to the non-static method GetNUmber() from the type Vehicle
<p>I am getting a error saying that cannot make a static reference to the non-static method GetNUmber() from the type Vehicle.I don't really understand what's happening. Please help!</p>

<pre><code>public class Vehicle
{

    private int VehicleNumber;




public void SetNumber (int N){

    VehicleNumber = N;

}

public  int GetNumber (){

    return VehicleNumber;

}


public static void main (String args[]){

    Vehicle Maxda = new Vehicle();
    Maxda.SetNumber(23423);
    System.out.println("Vehicle Maxda number is " + GetNumber());


}   
}   
</code></pre>
