'What does "a cannot be resolved" mean in Java? [duplicate]

I'm trying to program an appointment program and I'm a beginner at java. I'm using VScode.

the code:

public class Main {
    public static void main(String[] args) throws FileNotFoundException, IOException {                  
        a.menuPrint(); //Prints menu to begin 
    }
}

I'm getting this error:

a cannot be resolved

 at Main.main(Main.java:7) 

The a variable is supposed to print the menu. I don't know why it can't be resolved. Are there any reasons why?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source