title: how to save values/data in java even if you close it
body: <p>I'm making a game where you can get coins, highscore etc. and keep them without setting it back to default when I exit and close the game. May I know how to do this?</p>