I am working on a private project that I need to write some data in a csv file and edit it if needed so when I write the data it cool everything works fine but when i try to edit some data in the file i find some problems when i tryed to look for solutions mostly were to make a temp.csv that loads all the data in the csv file and edit what’s needed and then rename it for the first file and this will be bad if there was a lot of data in the file too much cpu and memory usage and time spending.
Since I am still a beginner in java i think it’s better to not use any data structures and work with just arrays.
Is there any solution so that i will edit my data without deleting and writing new file?
user24778581 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.