how do you write ArrayList into a binary file?
lets say i have a arraylist called people
i am trying to write that into a binary file using writeListToBinary method
my method:
public void writeListToBinary (ArrayList<Person> inList) throws IOException
in my main method:
ArrayList<Person> people = new ArrayList<Person>();
writeListToBinary(people);