I am having the worlds worst time trying to understand how to save anything perminately. All i want to do is save an Arraylist of ints that I can keep some high scores in. And I cant seem to find anyway to do it. I tried serializing the data and using file input stream to save it, but then there is no way to load it and desearlize the data because the only way to read the data from file input stream is to read it as an int. I tried writing and reading each number in the arraylist individually but then I get null pointer errors. Does anyone have a good way of doing this/have a good example of how to do this? Thanks in advance.
-Derek