Answers for "run main from another class 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 "run main from another class java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language