You'd have to add a few more methods that would execute the functionality of the application, so that you could ask the user if they'd like to play again, and then based on their input you'd simply call the execute method again.