I tried using this code below
if (choice == 6)
main (); //takes the user back to the main method to the Main Menu
but it won't compile.
error message:
No applicable overload for the method named "main" was found in type "movitetogo". Perhaps you wanted the overloaded version "void main(java.lang.String[]args)throws java.io.IOException;" instead?
I am looking for a simple way to just return back to the main method because I can't do all the programming in the main method, and loops drive me crazy, we are required to make new methods.
Thanks!