How to run a file other than Main.java
On Java, I want to run a public class I have made in a file, i.e File.java
Is there a way to make Main.java run code from a public class other than Main?
Highwayman
Does this answer your question?
https://stackoverflow.com/questions/13174031/how-to-run-java-class-file-from-another-class-file-java-newb
In repl.it you can only run the main file created by repl.it sadly.