title: cannot make a static reference to a non static method
body: <p>So far I have the following code:</p>
  
  <pre><code>import java.util.Scanner;
  
  public class HallLanceMemoryCalculator {
  private double currentValue;
  
  public static int displayMenu(){
  
      Scanner input=new Scanner(System.in);
  
      int choice=0;
  
      while(choice&lt;1||choice&gt;5){      
      System.out.println("1.Add");
      System.out.println("2.Subtract");
      System.out.println("3.Multiply");
      System.out.println("4.Divide");
      System.out.println("5.Clear");
  
      System.out.println("What would you like to do?");
      choice=input.nextInt();
      }
      return choice;
  }
  
  public static double getOperand(String prompt){
      Scanner input=new Scanner(System.in);
      System.out.println("What is the second number?");
      double secondNumber=input.nextDouble();
      return secondNumber;
  }
  
  public  double getCurrentValue(){
      return currentValue;
  }
  
  public void add(double operand2){
      currentValue+=operand2;
  }
  
  public void subtract(double operand2){
      currentValue-=operand2;
  }
  
  public void multiply(double operand2){
      currentValue*=operand2;
  }
  
  public void divide(double operand2){
      currentValue/=operand2;
  }
  
  public void clear(){
      currentValue=0;
  }
  
  public static void main(String[] args) {
      double value=getCurrentValue(); 
  }
  </code></pre>
  
  <p>}</p>
  
  <p>When I try to set double <code>value=getCurrentValue();</code> at the end, I get an error message "Cannot make a static reference to the non-static method." It says the fix is to make the <code>getCurrentValue()</code> method static as well, but I was told not to make that field static by my professor. Is there a simple solution to this that I am just missing?</p>