Answers for "java run main of another class"

0

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 "java run main of another class"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language