Reputation: 285
I have a ArrayList of my customized type. If i convert to String and write to a file and my other code reads the file as a String I dont know how to convert the read String back to my customized type.
I am planning to serialize this custom ArrayList and write to a file. Later for reading, deserialize it and read it as my custom ArrayList.
How do I achieve this? Any code would help me.
Upvotes: 0
Views: 96