title: How to reload main class in java?
body: <p>Actually I am developing a game <strong>TicTacToe</strong>.In this game when the game ends my form disappears and I need to run it from command line arguments to play it once again.Actually in my logic if I can reload or run the main class then it will be very helpful for me to develop a good game. Actually as we know when a java program runs then main class will be called first. <strong>*<em>And my question is that What to do if we want to reload or want to run main class again?</em></strong>*Please help me as soon as possible I am waiting form reply.</p>