I have an assignment that explicitly states that from the command prompt we are supposed to invoke
java GreeterTester John
and then print "Hello, John." when I do that (I've already navigated to the src folder) I get the error
could not find or load main class GreeterTester
Now I've seen a lot info about how we have to type the package name (we're using the default package) in our command prompt when invoking this command, but what could I put in my code that allows me to simply input
java GreeterTester John
in command prompt, and it works? Because we have to use that exact command.
Again, I don't need the package name