First of all, I'm sorry if this is in the wrong place.
Anyhow, Is there a way to write an arraylist<integer> to a file using bufferedwriter?
Printable View
First of all, I'm sorry if this is in the wrong place.
Anyhow, Is there a way to write an arraylist<integer> to a file using bufferedwriter?
Yes...iterate over the List and write the values (you could use Integer.toString to write strings, or use a PrintWriter to write the integer). You will need some sort of delim (new line, tab, comma, etc...)