Im making a simple program to for a bank (its a course exercise), but i want to know how do i save for example a costumer data like Strings...?...
any suggestions, please and thank you..
Im making a simple program to for a bank (its a course exercise), but i want to know how do i save for example a costumer data like Strings...?...
any suggestions, please and thank you..
Please elaborate - you want to save to a file? to a variable? Please specify the exercise and where exactly you get stuck...
There are many ways to do this. For example:
1. Serialize the class that stores the data
2. Write out a text file with your data
3. Write out an XML file with your data
4. Write out a properties file
5. Save data as preferences (OS specific)
If you have some ideas about why you need to save the data, that can help you decide on an approach.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.