Answers for "how my other class run with single main method in java"

1

java run main of another class

public class CallClass{

    public void call(){
       ToBeCalledClass.main(null); //or whatever args you want
    }
}
Posted by: Guest on March-25-2021

Code answers related to "how my other class run with single main method in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language