The class whose instances are to be serialized should implement an interface Serializable. Then you pass the instance to the ObjectOutputStream which ...
« previous1 next »