Allow users to run files of any name and public class

Ability for users to run a file based off of the file name and class. Example:

In Java files and Main class must be the same, if I had “” my public class must be Flooding. As of now both the file and public class must be named “Main”.

I’m not sure if this is a Replit issue or a Java issue.
Does this happen on other IDEs?

1 Like