[Solved] Where does Java store the data?
Constructor create object in memory only, and once your app is closed or pc shutdown your data will be lost, store data in a file is useful to store application settings, you have to use an xml or a properties file. If you want to store your business or other data in a database, you … Read more