I am unable to run any programs except for the default Main.java program. I tried to create another .java program with a main method called Hiya.java. I also tried to create a class in my SRC folder with a main method. However, every time I press run, only the original Main.java program runs. What should I do?
I am unable to run any programs except for the default Main.java program. I tried to create another .java program with a main method called Hiya.java. I also tried to create a class in my SRC folder with a main method. However, every time I press run, only the original Main.java program runs. What should I do?
Not sure how to do it in Java, but you can write some code in the main file to load whatever file you want.