📜  java run main of another class - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:22.203000             🧑  作者: Mango

代码示例1
public class CallClass{

    public void call(){
       ToBeCalledClass.main(null); //or whatever args you want
    }
}