java run main of another class

Solutions on MaxInterview for java run main of another class by the best coders in the world

showing results for - "java run main of another class"
Carla
25 May 2018
1public class CallClass{
2
3    public void call(){
4       ToBeCalledClass.main(null); //or whatever args you want
5    }
6}