can i make a class inside main class in java code example
Example: java run main of another class
public class CallClass{
public void call(){
ToBeCalledClass.main(null); //or whatever args you want
}
}
public class CallClass{
public void call(){
ToBeCalledClass.main(null); //or whatever args you want
}
}