Changing the main class name in Java -- is it possible?

In Java there is no way to change the class name or the java file away from Main, and give it a meaningful name?

You are viewing a single comment. View All

You can delete the main file and then create a new java file using shell commands: (hit ctrl+shift+s)

but then you will also have to configure the run button: (create a .replit file)