Run Java program different a different name - other than Main.java
tkamal (2)

Right now it seems Java programs can only run if you have a file name Main.java - if you have other files in the folder with a different name Program.java etc these Java file cannot run?
Is there a way to get over this issue?

You are viewing a single comment. View All
timmy_i_chen (940)

@AideOropeza Can you link me to a repl where you are trying to do it?