title: Is it possible to call the main method passing args[] from another method?
body: <p>I'm trying to call the main method of a class from another method passing arguments like when running the class from the command line. Is there a way to do this?</p>