I'm trying to programically create a new a file in java, and write a string array to that file. If the file already exists, I just want to append another string array (This is like a log file). Whats the most 'modern' way to do something like this? Is FileWriter and Buffered writer still the way to go? Most of the stuff I'm finding on here is from 2010..that was 5 years ago!
Edit: I actually need to take in an ArrayList but there shouldnt be a difference