JAVA INTERVIEW QUESTIONS: JAVA: How to serialize an object to a file?
By implementing an interface Serializable in the class whose instances are to be serialized.Then passing the instance to the ObjectOutputStream which is connected to a fileoutputstream. This will save...
3 plus ones
Shared publicly•View activity